Lagrange's four-square theorem

From Number

Statement

The statement has the following equivalent forms:

  1. Every nonnegative integer can be expressed as a sum of four squares of integers.
  2. Every nonnegative integer can be expressed as a sum of four squares of nonnegative integers. Note that one or more of the integers is allowed to be zero.
  3. Every positive integer is a sum of at most four perfect squares.

Interpretations

Finite algebraic characterization of nonnegative integers

Lagrange's four-square theorem gives a characterization of the nonnegative integers using a finite formula purely in terms of the ring theoretic properties of the integers.

Related facts

Identities used/involved

Similar facts about sums of squares

Questions and facts about sums of higher powers

  • Waring's problem asks to find, for a given , the smallest number such that every nonnegative integer can be expressed as a sum of powers of nonnegative integers.
  • Generalized Waring problem asks to find, for a given , the smallest number such that every nonnegative integer can be expressed as a sum of powers of nonnegative integers.