Every integer squared equals 0 or 1 modulo 3. Hence, if
then
=2 modulo 3. But
0 or 1 modulo 3.
Therefore
.
Every square integer equals 0, 1, 4, or 9 modulo 16. If
then
equals either of 1, 4, or 9 modulo 16. But none of
, or
equals 0, 1, 4, or 9 modulo
16. However,
equals 0, 1, 4 or 9 modulo 16. Hence
must
equal 0 modulo 16. That is, 16 divides
and 4 divides
.
Every integer squared equals 0, 1, or 4 modulo 5. If
then
1+1, 1+4, or 4+4 equals 2, 0, or 3 modulo 5. But
equals 0, 1, or 4 modulo 5. Therefore
0 modulo
5 implies
.
In the section entitled Primitive Pythagorean triangles where the hypotenuse is to a power the following generalizations are found for the divisors 3, 4, and 5.
Let
where
. Let
be a positive integer divisor of
.
Set
then
,
implies
implies
, and
.