Legendre's three-square theorem
Appearance
In mathematics, Legendre's three-square theorem states that any natural number that is not of the form for integers a and b can be represented as the sum of three integer squares:
This theorem was stated by Adrien-Marie Legendre in 1798.[1] His proof was incomplete, leaving a gap which was later filled by Carl Friedrich Gauss.[2]
The first numbers that cannot be expressed as the sum of three squares (numbers that can be expressed as ) are
Relationship to the Four-Square Theorem
The factual accuracy of part of this article is disputed. The dispute is about the appropriateness of using a very deep result in order to prove a much more elementary result. (June 2014) |
This theorem leads to an easy proof of Lagrange's four-square theorem, which states that all natural numbers can be written as a sum of four squares. Let n be a natural number, then there are two cases:[3]
- either n is not of the form , in which case it is a sum of three squares and thus of four squares for some x, y, z, by Legendre–Gauss;
- or , where , which is again a sum of three squares by Legendre–Gauss, so that n is a sum of four squares.
Notes
- ^ Conway. Universal Quadratic Forms and the Fifteen Theorem. [1]
- ^ Dietmann, Rainer; Elsholtz, Christian (2008). "Sums of two squares and one biquadrate". Funct. Approx. Comment. Math. 38 (2): 233–234.
- ^ France Dacar (2012). "The three squares theorem & enchanted walks" (PDF). Jozef Stefan Institute. Retrieved 6 October 2013.