Sums of three cubes
Which whole numbers can be written as $x^3 + y^3 + z^3$ with $x, y, z$ integers, negative ones allowed? Small cases are easy: $1 = 1^3 + 0^3 + 0^3$, $2 = 1^3 + 1^3 + 0^3$, $3 = 1^3 + 1^3 + 1^3$. Then $4$ refuses, and so does $5$. The reason is arithmetic modulo $9$: a cube is always $\equiv 0, 1$ or $-1 \pmod 9$, so a sum of three cubes is never $\equiv 4$ or $5 \pmod 9$.
The conjecture and the hunt
Heath-Brown conjectured in 1992 that every $n \not\equiv \pm 4 \pmod 9$ is a sum of three cubes, in fact in infinitely many ways. No proof is in sight, so the question became computational, and the solutions can be astonishingly large because the equation has very few small solutions. After decades of searches, the last two numbers below $100$ were solved in 2019: $$33 = 8866128975287528^3 + (-8778405442862239)^3 + (-2736111468807040)^3,$$ found by Andrew Booker with a new algorithm and a few weeks on a university cluster, and $$42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3,$$ found by Booker and Andrew Sutherland using about a million hours of donated computer time on the Charity Engine network. The same search answered a question Mordell asked in 1953 about the number $3$: besides $1^3 + 1^3 + 1^3$ and $4^3 + 4^3 + (-5)^3$, there is a third representation, $$3 = 569936821221962380720^3 + (-569936821113563493509)^3 + (-472715493453327032)^3.$$ A handful of numbers below $1000$ remained open after these searches, the smallest being $114$; that list may have shrunk since.
Why the solutions are so big
Heuristically, the number of solutions with $\max(|x|, |y|, |z|) \le B$ grows like $c_n \log B$, where $c_n$ depends on $n$ through local densities. For most $n$ the constant is not tiny, but because the growth is only logarithmic, the first solution can sit anywhere, and for $33$ and $42$ it happened to be near $10^{16}$. The searches exploit the factorisation $x^3 + y^3 = (x + y)(x^2 - xy + y^2)$: writing $d = x + y$, the equation says $d$ divides $n - z^3$, which turns a three-variable search into a sieve over $z$ and the divisors $d$.
Full proof: cubes modulo 9
Lemma. For every integer $x$, $x^3 \equiv 0, 1$ or $-1 \pmod 9$. Consequently no $n \equiv \pm 4 \pmod 9$ is a sum of three cubes.
Proof. Write $x = 3m + r$ with $r \in \{0, 1, -1\}$. Then $x^3 = 27m^3 + 27m^2 r + 9m r^2 + r^3 \equiv r^3 \pmod 9$, and $r^3 = r \in \{0, 1, -1\}$. A sum of three numbers from $\{0, 1, -1\}$ lies in $\{-3, \dots, 3\}$, and none of these is $\equiv 4$ or $5 \pmod 9$. $\square$
Heath-Brown's conjecture says this is the only obstruction. That is a statement of a "local-to-global" type, and for cubic surfaces such statements can fail in general, which is part of what makes the conjecture hard.
Further reading
- A. R. Booker, Cracking the problem with 33, Research in Number Theory 5 (2019).
- A. R. Booker and A. V. Sutherland, On a question of Mordell, Proceedings of the National Academy of Sciences 118 (2021).
- D. R. Heath-Brown, The density of zeros of forms for which weak approximation fails, Mathematics of Computation 59 (1992).