PROJECT EULER · #0229
Four Representations Using Squares
Consider the number
Similarly, we find that
In 1747, Euler proved which numbers are representable as a sum of two squares.
We are interested in the numbers
where the
There are
How many such numbers are there that do not exceed
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.