Three-color target sums · Proving Ground goal
Every target from 5,897 upward forces a monochromatic sum
For every n of 5,897 or more, every three-colouring of the positive integers smaller than n contains distinct entries of one colour whose sum is n. This settles 5,897, the largest prime left by the preceding proof. The download contains the complete Lean argument, including the interval from 5,897 to 5,903 and its connection to the infinite tail.
One step is a counting lemma about 3k + 1 consecutive positions. Suppose a set contains neither two disjoint pairs one apart nor two disjoint pairs two apart. Then it occupies at most k + 2 positions. To see the obstruction, remove at most two entries to leave gaps of at least three. If that leaves k + 1 entries, they must occupy both ends and every third position in between. Any two extra entries would create two disjoint pairs at one of the forbidden distances. For example, on the thirteen positions from 0 to 12 the bound is six. The six positions 0, 1, 2, 4, 7 and 10 attain it.
That count bounds the sum of fourteen large entries used to build a monochromatic subset. A separate parity argument uses 83 even entries when two of them are two apart. After division by two those entries are consecutive, and their difference starts a progression of attainable sums. Both arguments and the numerical bounds are checked by the ordinary Lean kernel.
The archive includes all imports, a hash manifest and the replay command against the pinned official statement. Official problem.
Download and replay
Download the complete Lean proof and replay script
126552 bytes · SHA-256 c1d849d4d28e98aa95aaefb9913ad5d6c7fcd6111ae58a98daf3dbf8c508efe9