Lagrange's four-square theorem
From Wikipedia, the free encyclopedia
Lagrange's four-square theorem, also known as Bachet's conjecture, was proven in 1770 by Joseph Louis Lagrange. An earlier proof by Fermat was never published.
The theorem appears in the Arithmetica of Diophantus, translated into Latin by Bachet in 1621. It states that every positive integer can be expressed as the sum of four squares of integers. For example,
- 3 = 12 + 12 + 12 + 02
- 31 = 52 + 22 + 12 + 12
- 310 = 172 + 42 + 22 + 12.
More formally, for every positive integer n there exist non-negative integers a,b,c,d such that
- n = a2 + b2 + c2 + d2.
Adrien-Marie Legendre improved on the theorem in 1798 by stating that a positive integer can be expressed as the sum of three squares iff it is not of the form 4k(8m + 7). His proof was incomplete, leaving a gap which was later filled by Carl Friedrich Gauss.
In 1834, Carl Gustav Jakob Jacobi found an exact formula for the total number of ways a given positive integer n can be represented as the sum of four squares. This number is eight times the sum of the divisors of n if n is odd and 24 times the sum of the odd divisors of n if n is even.
Lagrange's four-square theorem is a special case of the Fermat polygonal number theorem and Waring's problem.
[edit] See also
[edit] References
- Ireland and Rosen (1990). A Classical Introduction to Modern Number Theory. Springer-Verlag. ISBN 0-387-97329-X.
[edit] External links
- Proof at PlanetMath.org
- Another proof
- an applet decomposing numbers as sums of four squaresde:Vier-Quadrate-Satz
es:Teorema de los cuatro cuadrados fr:Théorème des quatre carrés de Lagrange it:Teorema dei quattro quadrati he:משפט ארבעת הריבועים של לגראנז' hu:Négy-négyzetszám-tétel ja:多角数定理 ru:Теорема Лагранжа о сумме четырех квадратов zh:四平方和定理

