Waring's Problem
Every whole number is a sum of a few squares. Try it:
7 = 4 + 1 + 1 + 1 (that's 2^2 + 1^2 + 1^2 + 1^2),
23 = 9 + 9 + 4 + 1, 100 = 64 + 36 = 8^2 + 6^2.
No matter which number you name, four squares always suffice — a fact proved by Lagrange in 1770. In
that same year Edward Waring, a Cambridge professor, asked the natural sequel: what about
cubes? Fourth powers? Fifth? For each exponent k, is there a
fixed number of k-th powers that can build every natural number?
Waring conjectured — with no proof, on pure faith — that the answer is always yes: nine cubes suffice
for everything, nineteen fourth powers, and so on for each k. It took
139 years before Hilbert proved he was right, and another generation before the
the circle method
of Hardy and Littlewood turned the qualitative "yes, finitely many" into a precise machine that
counts the representations. Waring's problem is the original triumph of that method — the
proving ground on which analytic number theory learned to attack additive questions.
The starting point: four squares
Every natural number is a sum of at most four perfect squares:
n = a^2 + b^2 + c^2 + d^2, \qquad a,b,c,d \in \mathbb{Z}_{\ge 0}.
Four is also necessary: no smaller number of squares will do for everyone. The
obstruction is a class of stubborn numbers. Consider 7. The squares below
it are 0, 1, 4; try to hit 7 with just three of
them and you are stuck — the best you can manage is 4 + 1 + 1 = 6 or
4 + 4 = 8, never 7. Only when you allow a
fourth square does 7 = 4 + 1 + 1 + 1 appear.
In fact every number of the form 4^a(8b + 7) —
7, 15, 23, 28, 31, \dots — genuinely requires all four squares. So the
answer for k = 2 is exactly four, and not because we lack cleverness: three
squares provably cannot reach these numbers. This tension — a handful of awkward small numbers forcing
the count up — is the theme of the whole subject.
Hilbert's theorem: the number always exists
For every integer k \ge 2 there is a finite number
g(k) such that every natural number is a sum of at
most g(k) positive k-th powers.
This is a pure existence statement: Hilbert showed g(k) is finite for all
k, resolving Waring's conjecture, but his combinatorial proof gave
hopeless, astronomically large bounds and no way to compute the true value. Naming the quantity is
the first step; pinning it down is the story of the next century.
Two numbers do the pinning, and telling them apart is the single most important idea on this page.
Write:
-
g(k) — the least s such that
every natural number is a sum of at most s
k-th powers (all n, including the
small awkward ones).
-
G(k) — the least s such that every
sufficiently large natural number is a sum of at most
s k-th powers (all
n beyond some threshold; finitely many small exceptions allowed).
Because G(k) forgives a finite list of exceptions, it is always
\le g(k) — and usually much smaller.
G(k) is the deeper, more natural quantity; g(k)
is essentially a story about a few small numbers.
Why g(k) is dominated by small numbers
Look at cubes. It turns out g(3) = 9: nine cubes suffice for everything.
But which numbers actually need nine? Only two of them, in the entire
infinite list of naturals:
23 = 2\cdot 2^3 + 7\cdot 1^3 = 8 + 8 + 1 + 1 + 1 + 1 + 1 + 1 + 1, \qquad 239.
23 and 239 are the only numbers
requiring nine cubes. A slightly larger threshold — numbers needing eight cubes — has just fifteen
members, the largest being 454. Beyond 8042,
every number is a sum of at most seven cubes, and it is believed (though not fully
proven) that beyond a point only four cubes are ever needed. That last figure is
G(3) \le 7 at work: the bulk of the numbers are far easier than
the two troublemakers 23 and 239 that inflate
g(3) to nine.
The same happens for fourth powers, only more dramatically:
g(4) = 19, forced by numbers like 79 (which
needs nineteen fourth powers, mostly 1s and
16s), yet G(4) = 16 — one of the few
G(k) known exactly, proved by Davenport in 1939.
Worked example: three squares fall short, four succeed
Let's nail down why g(2) = 4 and not 3, by
pinning the smallest offender. Claim: 7 is not a sum of
three squares. The available squares are 0, 1, 4 (since
3^2 = 9 > 7). Enumerate every way to pick three of them:
4+4+4 = 12,\quad 4+4+1 = 9,\quad 4+4+0 = 8,\quad 4+1+1 = 6,\quad 4+1+0 = 5,\quad 1+1+1 = 3,\ \dots
None equals 7 — it slips between 6 and
8. There is also a clean modular reason: modulo 8
a square is 0, 1, or 4, and no three of those
add to 7 \pmod 8. But add a fourth square and the jam clears instantly:
7 = 2^2 + 1^2 + 1^2 + 1^2 = 4 + 1 + 1 + 1. \checkmark
Now a cube example, to feel g(3). Take
23, the champion troublemaker. The cubes available are
1 and 8 (since
3^3 = 27 > 23). To use as few as possible we grab the big cubes first, but
two 8s leave 23 - 16 = 7, and
7 must be built from seven 1s:
23 = 8 + 8 + 1 + 1 + 1 + 1 + 1 + 1 + 1 \quad(\text{2 eights} + \text{7 ones} = \textbf{9 cubes}).
You cannot do better: a third 8 overshoots
(24 > 23), so you are stuck with two 8s and
seven 1s. That is exactly why g(3) \ge 9.
Known values of g(k) and G(k)
Here are the small cases side by side. Notice how g(k) races upward while
G(k) — where known — lags far behind, and how few of the
G(k) are actually settled.
| k |
powers |
g(k) |
G(k) |
notes |
| 2 | squares | 4 | 4 | both exact (Lagrange) |
| 3 | cubes | 9 | between 4 and 7 | g forced by 23, 239 |
| 4 | fourth powers | 19 | 16 | G(4) exact (Davenport) |
| 5 | fifth powers | 37 | between 6 and 17 | |
| 6 | sixth powers | 73 | between 9 and 24 | |
| 7 | seventh powers | 143 | between 8 and 33 | |
Only G(2) = 4 and G(4) = 16 are known exactly;
every other G(k) is trapped between a lower and an upper bound. The upper
bounds are exactly what the circle method — and its modern engine, Vinogradov's mean value theorem —
keep driving down.
A closed formula for g(k)
The astonishing thing about g(k) is that, being pinned by small awkward
numbers, it obeys a clean formula. The worst offender for exponent k is
typically the number 2^k\lfloor(3/2)^k\rfloor - 1, which is stuck using
only 1s and 2^ks. Working out how many that
takes gives:
For all k for which it has been verified (and conjecturally all),
g(k) = 2^k + \left\lfloor (3/2)^k \right\rfloor - 2.
Check it: k = 2 gives 4 + 2 - 2 = 4 ✓;
k = 3 gives 8 + \lfloor 3.375 \rfloor - 2 = 8 + 3 - 2 = 9 ✓;
k = 4 gives 16 + \lfloor 5.06 \rfloor - 2 = 16 + 5 - 2 = 19 ✓;
k = 5 gives 32 + \lfloor 7.59 \rfloor - 2 = 32 + 7 - 2 = 37 ✓.
The formula is known to hold except possibly for finitely many k where
(3/2)^k lands suspiciously close to an integer — a condition that is
believed never to occur. So g(k), the "all numbers" quantity, is in a
sense solved. It is G(k) that remains genuinely open.
The circle method: turning counting into an integral
How does one prove a large number is a sum of s
k-th powers? Not by exhibiting the powers — by counting the
representations and showing the count is positive. The circle method encodes the count as a single
integral. Let e(\theta) = e^{2\pi i \theta} and form the
generating (exponential) sum
F(\alpha) = \sum_{m \le N^{1/k}} e\!\left(m^k \alpha\right).
Raise it to the s-th power: expanding
F(\alpha)^s produces a term
e\big((m_1^k + \cdots + m_s^k)\,\alpha\big) for every ordered choice of
s bases. The number of ways to write
N = m_1^k + \cdots + m_s^k is then extracted by the orthogonality of
exponentials — integrating against e(-N\alpha) over a full period picks
out exactly the terms that sum to N:
The number of representations of N as a sum of
s positive k-th powers is
r_{s,k}(N) = \int_0^1 F(\alpha)^s\, e(-N\alpha)\, d\alpha.
If r_{s,k}(N) > 0 then such a representation exists.
The genius is the split. The unit interval is carved into major arcs — tiny
neighbourhoods of rationals a/q with small denominator, where
F(\alpha) is large and behaves predictably — and the leftover
minor arcs, where F(\alpha) is small because the phases
e(m^k\alpha) point every which way and cancel.
Major arcs, minor arcs, and the main term
On the major arcs, the exponential sum is close to a product of a
local factor at each prime and the reals, and the integral there evaluates to an explicit
main term:
r_{s,k}(N) \;\sim\; \mathfrak{S}(N)\,\Gamma\!\left(1 + \tfrac1k\right)^{s} \Gamma\!\left(\tfrac{s}{k}\right)^{-1} N^{\,\frac{s}{k}-1}.
Two pieces control it. The singular series \mathfrak{S}(N)
is an infinite product over primes measuring whether N is representable
modulo every prime power — the local obstructions; when it is bounded below by a positive
constant, no congruence blocks a solution. The singular integral (the Gamma-factor
piece) is the real-density contribution. Their product, times
N^{s/k - 1}, is the expected count — and it grows without bound once
s > k.
The whole method succeeds if the minor arcs contribute less than this main term.
That is an estimation problem: bound F(\alpha) when
\alpha is badly approximable. The classical tool is
Weyl's inequality, which gives
|F(\alpha)| \ll N^{1/k + \varepsilon}(\cdots) through repeated squaring
of the sum; feeding it in shows G(k) \le 2^k + 1 — Hardy and Littlewood's
original bound. The sharper the minor-arc bound, the smaller the s you can
get away with, and the smaller your bound on G(k).
Vinogradov, Wooley, and the modern collapse of G(k)
The decisive improvement came from bounding not a single sum but its mean value.
Vinogradov's mean value theorem controls the average size of
J_{s,k}(M) = \int_{[0,1]^k} \left| \sum_{m \le M} e(\alpha_1 m + \alpha_2 m^2 + \cdots + \alpha_k m^k) \right|^{2s} d\boldsymbol{\alpha},
which counts systems of equal power sums. For decades the sharp bound — the Main
Conjecture for Vinogradov's mean value — was out of reach. It was finally proved around
2015–2016, by Bourgain, Demeter and Guth (via decoupling in harmonic analysis) and,
independently, by Wooley (via his efficient congruencing). The payoff for Waring's problem
was immediate and dramatic:
-
The Main Conjecture gives, for large k,
G(k) \le k\,(2\log k + \log\log k + O(1)),
roughly G(k) \approx 2k\log k — a huge improvement on the old
G(k) \le 2^k + 1.
-
In particular the number of powers needed grows only polynomially in
k, not exponentially — the exponential
2^k that dominates g(k) is a small-number
artefact, not the true difficulty of the large-N problem.
This is the modern face of the century-old circle method: an additive question about integers,
settled through the geometry of exponential sums and cutting-edge harmonic analysis.
Seeing the gap
Plotting the two quantities makes the whole moral visible at a glance.
g(k) = 2^k + \lfloor(3/2)^k\rfloor - 2 shoots up
exponentially — dragged there by a couple of small stubborn numbers for each
k. The best known upper bound for G(k), the
deep "large-N" quantity, grows only gently. The chasm between the curves
is the chasm between "every last number, including the awkward ones" and "every number big enough to
behave."
The upper curve is a story about arithmetic accidents; the lower curve is the real mathematics.
The commonest confusion in Waring's problem is treating g(k) and
G(k) as roughly the same. They are not.
g(k) must handle every natural number, so it is held
hostage by a few tiny exceptions — g(3) = 9 exists solely because
of 23 and 239. Remove finitely many small
numbers and the count plummets: G(3) \le 7, and conjecturally
G(3) = 4.
So the rule of thumb is G(k) \le g(k), usually with lots of room to spare.
g(k) grows like 2^k (exponential, and essentially
known via the closed formula); G(k) grows like
2k\log k (polynomial, and mostly unknown). When someone says
"Waring's problem is basically solved," they mean g(k). When they say "it
is wide open," they mean G(k). Same problem, opposite verdicts — because
they are different quantities.
There is a neat reason 23 is so stubborn. To use few cubes you want to
lean on the biggest cube available, but for 23 the only cubes on offer are
1 and 8 (since
27 > 23). Greed says grab two 8s, leaving
7 — and 7 has no choice but to become seven
1s. Total: 2 + 7 = 9 cubes. The number
239 is the only other number this greedy squeeze traps at nine.
Every larger number eventually has access to 27, 64, 125, \dots, giving it
room to economise — which is exactly why the difficulty is confined to the small numbers, and why
G(3) is so much smaller than g(3).