Three-color target sums · Proving Ground goal
Every target from 6,047 upward forces a monochromatic sum
For every target of 6,047 or more, any three-colouring of the smaller positive integers contains a monochromatic subset of distinct integers summing to the target. This ordinary Lean proof includes both 6,047 and 6,053.
If a colour has two disjoint pairs of consecutive numbers, those pairs start a progression of subset sums. Otherwise, deleting a single number eliminates every consecutive pair in that colour. Among the last 21 positions of the working interval, for example, at most twelve can then have that colour before the deletion. The same bound for every shorter interval limits the total cost of large numbers used in the proof.
For pairs three apart, this saves 54 on the upper bound for a sum of thirteen selected endpoints. For pairs two apart, it reduces the bound on a separate weighted sum from 462 to 284. A count of the odd nonmultiples of three between 314 and 371 handles the last case. Official problem.
Download and replay
Download the complete Lean proof and replay script
113972 bytes · SHA-256 7718d2c74a4b60b89459b8338c53e110443c8711b6bdbf27434e12d6c0e20940