The eighteenth-century mathematician Joseph Louis Lagrange proved that every positive integer is the sum of, at most, four squares. Find at least one way to write as the sum of three squares.
Source: NCTM Mathematics Teacher 2008
a sum of four squares
We want a sum of three squares, so we try , etc.
not a perfect square
Continuing in this slow and tedious fashion we will find more solutions