This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It can be shown that a number cannot be written as the sum of two positive squares if it has a prime factor equal to 3 (mod 4) with an odd power. All of the above numbers except for 4 can easily be factored by a computer.
For #4, test primes equal to 3 mod 4 until we find one that divides. The first is 7, and we can show that 7^1 divides but 7^2 does not. Therefore #4 cannot be written as the sum of two squares.