Jump to content

Jacobi's four-square theorem

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 199.80.152.204 (talk) at 22:04, 7 November 2008 (Clarifying how the representations are counted.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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. Note that two representations are considered different if their terms are in different order or if the integer being squared (not just the square) is different; to illustrate, these are three of the eight different ways to represent 1:

The number of ways to represent n as the sum of four squares 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 (see divisor function), i.e.

Equivalently, it is eight times the sum of all its divisors which are not divisible by 4, i.e.

In particular, for a prime number p we have the explicit formula .

See also

References

  • Hirschhorn, Michael D. "Algebraic consequences of Jacobi's two– and four–square theorems". Ismail (eds), Developments in Mathematics: 107–132. {{cite journal}}: Unknown parameter |coauthors= ignored (|author= suggested) (help)
  • Hirschhorn, Michael D. (1987). "A simple proof of Jacobi's four-square theorem". Proc. Amer. Math. Soc.