{"id":"formal-conjectures/OEIS__303639","url":"https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/303639.lean","repo":"https://github.com/google-deepmind/formal-conjectures","score":0,"title":"OEIS A303639: Sum of two squares and two central-binomial-type terms","domain":"math.NT","source":"formal-conjectures","problem":{"number":"A303639","status":"solved","collection":"oeis"},"reviews":0,"subject":"math.NT","summary":"**Zhi-Wei Sun's Conjecture (A303639)**: any integer $n > 1$ can be written as $a^2 + b^2 + \\binom{2c+1}{c} + \\binom{2d+1}{d}$ with $a, b, c, d$ nonnegative integers. Sun checked this for $n$ up to $6 \\cdot 10^8$. This is false: $n = 800322180$ admits no such representation, so $a(800322180) = 0$. Since $\\binom{33}{16} > 800322180$, only $c, d \\le 15$ are possible, and each of the resulting $136$ remainders $800322180 - \\binom{2c+1}{c} - \\binom{2d+1}{d}$ is divisible by some prime $p \\equiv 3 \\pmod 4$ to an odd power, hence is not a sum of two squares by Fermat's two-square theorem. The…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/DCLXAI/a303639-counterexample/blob/8e21c57c622b05a1815bcf9927458ebb3973ef2e/lean/A303639/Counterexample.lean"]}