A generalization of Fermat 's theorem characterizes the integers ( not necessarily prime ) that can be expressed as the sum of two squares .
A generalization of Fermat 's theorem is the sum of two squares theorem .
A generalization of Fermat 's theorem , the sum of two squares theorem , characterizes the integers ( not necessarily prime ) that can be expressed as the sum of two squares .