/Wiki/Additive number theory · Diophantine equationFermat's theorem on sums of two squaresAn odd prime is a sum of two squares exactly when it is congruent to 1 modulo 4.This page has not been written yet. The summary above comes from the topic index.