Lagrange's four-square theorem
From Free net encyclopedia
Lagrange's four-square theorem, also known as Bachet's conjecture, was proved in 1770 by Joseph Louis Lagrange.
It states that every positive integer can be expressed as the sum of four squares of integers. For example,
- 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.
See also
References
External links
es:Teorema de los cuatro cuadrados fr:Théorème des quatre carrés de Lagrange it:Teorema dei quattro quadrati he:משפט ארבעת הריבועים של לגראנז' ja:多角数定理 ru:Теорема Лагранжа о сумме четырех квадратов zh:四平方和定理