Which integers can be represented as the sum of two squares?


Written by Bill Casselman.