# Waring's problem

In number theory, **Waring's problem** asks whether each natural number *k* has an associated positive integer *s* such that every natural number is the sum of at most *s* *k*^{th} powers of natural numbers. For example, every natural number is the sum of at most 4 squares, 9 cubes, or 19 fourth powers. Waring's problem was proposed in 1770 by Edward Waring, after whom it is named. Its affirmative answer, known as the **Hilbert–Waring theorem**, was provided by Hilbert in 1909.^{[1]} Waring's problem has its own Mathematics Subject Classification, 11P05, "Waring's problem and variants."

## Relationship with Lagrange's four-square theorem

Long before Waring posed his problem, Diophantus had asked whether every positive integer could be represented as the sum of four perfect squares greater than or equal to zero. This question later became known as Bachet's conjecture, after the 1621 translation of Diophantus by Claude Gaspard Bachet de Méziriac, and it was solved by Joseph-Louis Lagrange in his four-square theorem in 1770, the same year Waring made his conjecture. Waring sought to generalize this problem by trying to represent all positive integers as the sum of cubes, integers to the fourth power, and so forth, to show that any positive integer may be represented as the sum of other integers raised to a specific exponent, and that there was always a maximum number of integers raised to a certain exponent required to represent all positive integers in this way.

## The number *g*(*k*)

For every *k*, let *g*(*k*) denote the minimum number *s* of *k*^{th} powers needed to represent all integers. Every integer is the sum of one first power, itself, so *g*(1) = 1. Some simple computations show that 7 requires 4 squares, 23 requires 9 cubes, and 79 requires 19 fourth-powers; these examples show that *g*(2) ≥ 4, *g*(3) ≥ 9, and *g*(4) ≥ 19. Waring conjectured that these values were in fact the best possible.

Lagrange's four-square theorem of 1770 states that every natural number is the sum of at most four squares; since three squares are not enough, this theorem establishes *g*(2) = 4. Lagrange's four-square theorem was conjectured in Bachet's 1621 edition of Diophantus's Arithmetica; Fermat claimed to have a proof, but did not publish it.^{[2]}

Over the years various bounds were established, using increasingly sophisticated and complex proof techniques. For example, Liouville showed that *g*(4) is at most 53. Hardy and Littlewood showed that all sufficiently large numbers are the sum of at most 19 fourth powers.

That *g*(3) = 9 was established from 1909 to 1912 by Wieferich^{[3]} and A. J. Kempner,^{[4]} *g*(4) = 19 in 1986 by R. Balasubramanian, F. Dress, and J.-M. Deshouillers,^{[5]}^{[6]} *g*(5) = 37 in 1964 by Chen Jingrun, and *g*(6) = 73 in 1940 by Pillai.^{[7]}

Let [*x*] and {*x*} denote the integral and fractional part of *x* respectively. Since 2^{k}[(3/2)^{k}]-1<3^{k} only 2^{k} and 1^{k} can be used to represent this number and the most economical representation requires [(3/2)^{k}]-1 2^{k}s and 2^{k}-1 1^{k}s it follows that g(k) is at least as large as 2^{k} + [(3/2)^{k}] − 2. J. A. Euler, the son of Leonhard Euler, conjectured about 1772 that, in fact, g(k) = 2^{k} + [(3/2)^{k}] − 2.^{[8]} Later work by Dickson, Pillai, Rubugunday, Niven^{[9]} and many others have proved that

- g(k) = 2
^{k}+ [(3/2)^{k}] − 2 if 2^{k}{(3/2)^{k}} + [(3/2)^{k}] ≤ 2^{k}

- g(k) = 2
^{k}+ [(3/2)^{k}] + [(4/3)^{k}] − 2 if 2^{k}{(3/2)^{k}} + [(3/2)^{k}] > 2^{k}and [(4/3)^{k}][(3/2)^{k}] + [(4/3)^{k}] + [(3/2)^{k}] = 2^{k}

- g(k) = 2
^{k}+ [(3/2)^{k}] + [(4/3)^{k}] − 3 if 2^{k}{(3/2)^{k}} + [(3/2)^{k}] > 2^{k}and [(4/3)^{k}][(3/2)^{k}] + [(4/3)^{k}] + [(3/2)^{k}] > 2^{k}.

No values of *k* are known for which 2^{k}{(3/2)^{k}} + [(3/2)^{k}] > 2^{k}, Mahler^{[10]} has proved there can only be a finite number of such *k* and Kubina and Wunderlich ^{[11]} have shown that any such *k* must satisfy *k* > 471,600,000. Thus it is conjectured that this never happens, i.e. that g(k) = 2^{k} + [(3/2)^{k}] − 2 for each positive integer *k*.

The first few values of g(k) are:

- 1, 4, 9, 19, 37, 73, 143, 279, 548, 1079, 2132, 4223, 8384, 16673, 33203, 66190, 132055 ... (sequence A002804 in OEIS).

## The number *G*(*k*)

From the work of Hardy and Littlewood, the related quantity *G*(*k*) turned out to be more fundamental than *g*(*k*). *G*(*k*) is defined to be the least positive integer *s* such that every sufficiently large integer (i.e. every integer greater than some constant) can be represented as a sum of at most *s* *k*^{th} powers of positive integers. Since squares are congruent to 0, 1, or 4 (mod 8), no integer congruent to 7 (mod 8) can be represented as a sum of three squares, implying that *G*(2) ≥ 4. Since *G*(*k*) ≤ *g*(*k*) for all *k*, this shows that *G*(2) = 4. Davenport showed that *G*(4) = 16 in 1939, by demonstrating that any sufficiently large number congruent to 1 through 14 mod 16 could be written as a sum of 14 fourth powers (Vaughan in 1985 and 1989 reduced the 14 successively to 13 and 12). The exact value of *G*(*k*) is unknown for any other *k*, but there exist bounds.

### Lower bounds for *G*(*k*)

Bounds |
---|

1 = G(1) = 1 |

4 = G(2) = 4 |

4 ≤ G(3) ≤ 7 |

16 = G(4) = 16 |

6 ≤ G(5) ≤ 17 |

9 ≤ G(6) ≤ 24 |

8 ≤ G(7) ≤ 33 |

32 ≤ G(8) ≤ 42 |

13 ≤ G(9) ≤ 50 |

12 ≤ G(10) ≤ 59 |

12 ≤ G(11) ≤ 67 |

16 ≤ G(12) ≤ 76 |

14 ≤ G(13) ≤ 84 |

15 ≤ G(14) ≤ 92 |

16 ≤ G(15) ≤ 100 |

64 ≤ G(16) ≤ 109 |

18 ≤ G(17) ≤ 117 |

27 ≤ G(18) ≤ 125 |

20 ≤ G(19) ≤ 134 |

25 ≤ G(20) ≤ 142 |

The number *G*(*k*) is greater than or equal to

- 2
^{r + 2}if*k*= 2^{r}with*r*≥ 2, or*k*= 3×2^{r}; *p*^{r + 1}if*p*is a prime greater than 2 and*k*=*p*^{r}(*p*− 1);- (
*p*^{r + 1}− 1)/2 if*p*is a prime greater than 2 and*k*= p^{r}(p − 1)/2; *k*+ 1 for all integers*k*greater than 1.

In the absence of congruence restrictions, a density argument suggests that *G*(*k*) should equal *k* + 1.

### Upper bounds for *G*(*k*)

G(3) is at least four (since cubes are congruent to 0, 1 or −1 mod 9); for numbers less than 1.3Template:E, 1290740 is the last to require six cubes, and the number of numbers between N and 2N requiring five cubes drops off with increasing N at sufficient speed to have people believe G(3)=4;^{[12]} the largest number now known not to be a sum of four cubes is 7373170279850,^{[13]} and the authors give reasonable arguments there that this may be the largest possible. The upper bound G(3) ≤ 7 is due to Linnik.^{[14]}

13792 is the largest number to require seventeen fourth powers (Deshouillers, Hennecart and Landreau showed in 2000^{[15]} that every number between 13793 and 10^{245} required at most sixteen, and Kawada, Wooley and Deshouillers extended Davenport's 1939 result to show that every number above 10^{220} required no more than sixteen). Sixteen fourth powers are always needed to write a number of the form 31·16^{n}.

617597724 is the last number less than 1.3Template:E which requires ten fifth powers, and 51033617 the last number less than 1.3Template:E which requires eleven.

The upper bounds on the right with k=5,...,20 are due to Vaughan and Wooley.^{[16]}

Using his improved Hardy-Littlewood method, I. M. Vinogradov published numerous refinements leading to

in 1947 and, ultimately,

for an unspecified constant *C* and sufficiently large *k* in 1959.

Applying his p-adic form of the Hardy-Littlewood-Ramanujan-Vinogradov method to estimating trigonometric sums, in which the summation is taken over numbers with small prime divisors, Anatolii Alexeevitch Karatsuba obtained^{[17]} (1985) a new estimate of the Hardy function (for ):

Further refinements were obtained by Vaughan [1989].

Wooley then established that for some constant *C*,^{[18]}

Vaughan and Wooley have written a comprehensive survey article.^{[16]}

## See also

- Fermat polygonal number theorem, the theorem every positive integer is a sum of at most
*n**n*-gonal numbers - Waring–Goldbach problem, the problem of representing numbers as sums of powers of primes
- Subset sum problem, an algorithmic problem that can be used to find the shortest representation of a given number as a sum of powers

## Notes

- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Balasubramanian, Ramachandran; Deshouillers, Jean-Marc; Dress, François,
*Problème de Waring pour les bicarrés. I. Schéma de la solution.*(French. English summary) [Waring's problem for biquadrates. I. Sketch of the solution] C. R. Acad. Sci. Paris Sér. I Math. 303 (1986), no. 4, pp. 85-88 - ↑ Balasubramanian, Ramachandran; Deshouillers, Jean-Marc; Dress, François,
*Problème de Waring pour les bicarrés. II. Résultats auxiliaires pour le théorème asymptotique.*(French. English summary) [Waring's problem for biquadrates. II. Auxiliary results for the asymptotic theorem] C. R. Acad. Sci. Paris Sér. I Math. 303 (1986), no. 5, pp. 161-163 - ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ L. Euler "Opera postuma" (1), 203-204 (1862)
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Kubina, J. M. and Wunderlich, M. C. "Extending Waring's
conjecture to 471,600,000"
*Math. Comp.*(55) 815--820 (1990) - ↑ Nathanson (1996)p.71
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Nathanson (1996) p.46,71
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑
^{16.0}^{16.1}{{#invoke:citation/CS1|citation |CitationClass=book }} - ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}

## References

- G. I. Arkhipov, V. N. Chubarikov, A. A. Karatsuba, "Trigonometric sums in number theory and analysis". Berlin–New-York: Walter de Gruyter, (2004).
- G. I. Arkhipov, A.A. Karatsuba, V. N. Chubarikov, "Theory of multiple trigonometric sums". Moscow: Nauka, (1987).
- Yu. V. Linnik, "An elementary solution of the problem of Waring by Schnirelman's method".
*Mat. Sb., N. Ser.***12**(54), 225–230 (1943). - R. C. Vaughan, "A new iterative method in Waring's problem".
*Acta Mathematica*(162), 1-71 (1989). - I. M. Vinogradov "The method of trigonometrical sums in the theory of numbers".
*Trav. Inst. Math. Stekloff*(23), 109 pp (1947). - I. M. Vinogradov "On an upper bound for G(n)".
*Izv. Akad. Nauk SSSR Ser. Mat.*(23), 637-642 (1959). - I. M. Vinogradov, A. A. Karatsuba, "The method of trigonometric sums in number theory",
*Proc. Steklov Inst. Math.*, 168, 3–30 (1986); translation from Trudy Mat. Inst. Steklova, 168, 4–30 (1984). - W. J. Ellison:
*Waring's problem*. American Mathematical Monthly, volume 78 (1971), pp. 10–36. Survey, contains the precise formula for*g*(*k*), a simplified version of Hilbert's proof and a wealth of references. - {{#invoke:citation/CS1|citation

|CitationClass=book
}} Has an elementary proof of the existence of *G*(*k*) using Schnirelmann density.

- {{#invoke:citation/CS1|citation

|CitationClass=book
}} Has proofs of Lagrange's theorem, the polygonal number theorem, Hilbert's proof of Waring's conjecture and the Hardy-Littlewood proof of the asymptotic formula for the number of ways to represent *N* as the sum of *s* *k*^{th} powers.

- Hans Rademacher and Otto Toeplitz,
*The Enjoyment of Mathematics*(1933) (ISBN 0-691-02351-4). Has a proof of the Lagrange theorem, accessible to high school students.