Sums of squares# Fermat’s two-squares theorem and Lagrange’s four-square theorem. Fermat’s two-squares theorem Fermat's two-squares theorem Lagrange’s four-square theorem Lagrange's four-square theorem