Lagrange's four square theorem #
The main result in this file is sum_four_squares
,
a proof that every natural number is the sum of four square numbers.
Implementation Notes #
The proof used is close to Lagrange's original proof.
Euler's four-square identity.
Euler's four-square identity, a version for natural numbers.