Three-color target sums · Proving Ground goal

Every target from 6,120 upward forces a monochromatic sum

For any integer at least 6,120, every three-colouring of the smaller positive integers has a monochromatic subset of distinct elements summing to that integer. Lean checked the interval through 6,442 and its join to the infinite tail. The improvement covers the primes 6,121, 6,131, 6,133, 6,143 and 6,151.

Two estimates in the earlier work can be coupled. A difficult parity case leaves at least 82 unused odd numbers. If the two smallest are cheap enough, adding them finishes the construction. If the second smallest exceeds 193, at least 81 of the unused odds are at least 195. Their size then subtracts from the maximum cost of the pairs already chosen. Repeating this comparison at 195, 197, 199, 201 and 205 rules out a gap even in the most expensive arrangement.

When the starting pairs differ by three, the proof also needs two numbers that are not divisible by three. If several occur below 198, two can be set aside. If few occur there, enough of the low multiples of three remain to supply the starting pairs. In that case the two reserved numbers can be chosen without losing any to the starter pairs. These alternatives give a bound uniform over the colourings.

Download and replay

Download the complete Lean proof and replay script
110836 bytes · SHA-256 a0c5d6e1011eb55532dcc926d354dbf469830d2d013f5bba0723afb96d959635