Theorem 2 If is a prime, then it can necessarily be expressed as the sum of two squares of integers.
Solution
By Lemma 2, we know that there must be integers , , such that for a given , we have
In particular, taking , where is defined as in Lemma 1, we have
Thus, we also have
which is
Define , the above equation shows
and
Substituting Lemma 1 into equation (7), we get
which means there is a such that
But by equation (8), we know , so it must be that , which is exactly what we need to prove.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.