Jump to content

Legendre's three-square theorem

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Sapphorain (talk | contribs) at 10:10, 24 June 2014 (Relationship to the Four-Square Theorem). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

7, 15, 23, 28, 31, 39, 47, 55, 60, 63, 71 ... (sequence A004215 in the OEIS).

Relationship to the Four-Square Theorem

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

  1. ^ Conway. Universal Quadratic Forms and the Fifteen Theorem. [1]
  2. ^ Dietmann, Rainer; Elsholtz, Christian (2008). "Sums of two squares and one biquadrate". Funct. Approx. Comment. Math. 38 (2): 233–234.
  3. ^ France Dacar (2012). "The three squares theorem & enchanted walks" (PDF). Jozef Stefan Institute. Retrieved 6 October 2013.

See also