Three-color target sums · Proving Ground goal
Every remaining prime has a modular test on at most 42 positions
For each of the 893 primes between 349 and 7,579, there is a set of at most 42 positions with this property. If a three-coloring avoids the prime target p, each color has to appear in the set after multiplication by every nonzero residue modulo p. Counting these multipliers shows that each color occupies at least ⌈(p − 1)/42⌉ positions. For p = 7,393 that means at least 176 positions per color.
The construction starts at positions 1 through 6 and their complements. In a two-coloring with no monochromatic pair or triple summing to p, each number has the opposite color from its complement. Whenever different numbers a and b have the same color, their sum must have that color too, provided the three entries a, b and p − a − b are distinct and all needed positions are present. The relations among 1 through 6 then force 3, 4, 5 and 6 to share a color.
For 359, the additions produce 11, 16, 21, 37, 58, 79, 137 and 216. The last three summands are 6 + 137 + 216 = 359. Fourteen positions and their complements suffice. The program finds such a chain separately for each prime and Lean checks the arithmetic, distinctness, modular multiplication and final count. Some of the prime cases have already been settled. The restriction narrows what a counterexample in the other cases could look like.
Full exclusion of every integer from 7,409 upward · A related bound for arbitrarily large primes.
Download and replay
Download the complete Lean theorem and six-kernel verdicts
18852 bytes · SHA-256 1cfec18d966dd32947fe5eabd453cb82560e733006c6a3b51127987dda356af7
Download all 893 chains and the generator
28552 bytes · SHA-256 34acc7fce1688e0460ae5e5d8c1828f493a628810b7fcdf600bce16862343967