1) Draw a circle.
2) Pick a c value which is the sum of squares (c values where e=1,4,9,16,25..)
3) Set the radius of the circle equal to the square root of c (this calculation includes decimals).
4) Every integer point the circle passes through will be a valid sum of squares that makes c. (e.g the circle for sqrt(145) passes through (12,1) and 145 = 12^2 + 1^2)
A c example equal to the sum of squares was chosen for a reason.