article

Lagrange's four-square theorem, also known as Bachet's conjecture, was proven 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,

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.

See also


References


External links


Analytic number theory | Mathematical theorems

Vier-Quadrate-Satz | Teorema de los cuatro cuadrados | Théorème des quatre carrés de Lagrange | Teorema dei quattro quadrati | משפט ארבעת הריבועים של לגראנז' | 多角数定理 | Теорема Лагранжа о сумме четырех квадратов | 四平方和定理

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Lagrange's four-square theorem".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld