prove that there are infinitely many prime numbers expressib
prove that there are infinitely many prime numbers expressible in the form 8n+1 where n is a positive integer.
Solution
By Fermat’s theorem, xp – 1 1 (mod p) where p is an odd prime.
x4 –1 (mod p)
This implies that (x4)2 (–1)2 (mod p)
Or, x8 1 (mod p)
The congruence x4 –1 (mod p) is equivalent to x8 1 (mod p)
Hence, the congruence x8 1 (mod p) is solvable if and only if p – 1 8k for k = 1, 2, 3,…
That is, the congruence x8 1 (mod p) is solvable if and only if p 1 (mod 8)
Therefore, we can say that the congruence x4 –1 (mod p) is solvable if and only if p 1 (mod 8). Proved
Prove that there are infinitely many prime numbers expressible in the form 8n + 1 where n is a positive integer.
Proof: Assume by way of contradiction that there are only finitely many of such prime numbers, say p1,p2,…,pr. Consider p = 16p14p24pr4 + 1 = (2p1p2pr)4 + 1. Recall that the congruence x4 1 (mod p) is solvable if and only if p 1 (mod 8). p cannot be a prime of the form 8n + 1, but p 1 (mod 8), contradiction. Thus, there must be infinitely many prime numbers of the form 8n + 1.

