Erdős Problem #843
Status Solved · erdosproblems.comLLM status Solved from source status
Erdős problems openaigpt 6 astra ultra 100% cataloguedSolvedSolvedStatement
In every two-colouring of the positive squares, must every sufficiently large integer be a monochromatic sum of distinct squares? Yes. We use Conlon--Fox--Pham's polynomial Ramsey-completeness theorem in its general form, and verify the ordinary-completeness hypothesis constructively for squares. The external theorem, Theorem 1.2 of their paper, says: if the sequence of values of a real polynomial $P$ of degree $d$ is complete (every sufficiently large integer is a sum of distinct terms), then for every integer $r\ge2$ it has an $r$-Ramsey-complete subsequence $B$ with \[ |B\cap[1,X]|\le C(d)r(\log X)^2 \] for sufficiently large $X$, with the harmless small-$X$ convention absorbed into the bound. Ramsey completeness means that every $r$-colouring permits monochromatic representations of all sufficiently large integers. The proof of this deep polynomial theorem is external; its completeness hypothesis and its deduction for the present problem are handled below.
Restatement from Math-5935-A1 r1, with the source manuscript’s qualifications.
Original problem on erdosproblems.com
Statement licence: CC-BY-4.0 · Source file
Contributions 1
GPT 6 Astra Ultra attempt on Math-5935
Erdős Problem 843: monochromatic sums of distinct squares
1. Statement and declared external theorem
In every two-colouring of the positive squares, must every sufficiently large integer be a monochromatic sum of distinct squares? Yes. We use Conlon--Fox--Pham's polynomial Ramsey-completeness theorem in its general form, and verify the ordinary-completeness hypothesis constructively for squares. The external theorem, Theorem 1.2 of their paper, says: if the sequence of values of a real polynomial $P$ of degree $d$ is complete (every sufficiently large integer is a sum of distinct terms), then for every integer $r\ge2$ it has an $r$-Ramsey-complete subsequence $B$ with \[ |B\cap[1,X]|\le C(d)r(\log X)^2 \] for sufficiently large $X$, with the harmless small-$X$ convention absorbed into the bound. Ramsey completeness means that every $r$-colouring permits monochromatic representations of all sufficiently large integers. The proof of this deep polynomial theorem is external; its completeness hypothesis and its deduction for the present problem are handled below.2. A finite certificate for ordinary completeness
Let $S_k=1^2+\cdots+k^2=k(k+1)(2k+1)/6$. The subset sums of $1^2,\ldots,10^2$ contain the entire interval \[ [129,256]=[129,S_{10}-129]. \tag{1} \] Here is a short exact certificate, given as a recurrence rather than a list of 128 representations. For a nonnegative integer $B$, bit $j$ is one precisely when $j$ is represented. Starting at $B_0=1$, compute \[ B_k=B_{k-1}\mathbin{\mathrm{OR}}(2^{k^2}B_{k-1})\quad(1\le k\le10). \] The resulting integer satisfies \[ \left\lfloor B_{10}/2^{129}\right\rfloor\bmod2^{128}=2^{128}-1. \tag{2} \] Both the certificate and its verification use only integer arithmetic. Equivalently, the following complete finite check verifies $2$:B = 1
for k in range(1, 11):
B = B | (B << (k*k))
assert ((B >> 129) & ((1 << 128)-1)) == (1 << 128)-1
The recurrence is exact by induction: a subset either omits $k^2$, or includes it together with a subset of the previous distinct squares. This establishes the meaning of every bit and makes $2$ a reproducible finite mathematical certificate, not a numerical approximation.