Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.3.48* (There are infinitely many primes, second proof.)
Exercise 1.3.48* (There are infinitely many primes, second proof.)
Prove that there are infinitely many primes by considering the sequence
Answers
Proof. Write the -th Fermat number, for .
By exercise 1.2.49 we know that if .
Define as the least prime factor of . For instance and (see Ex. 1.3.43).
If , then , because .
Therefore the set of prime numbers is infinite. This shows that there are infinitely many primes.
More formally, write the set of prime numbers. The map
is an injection. Therefore is infinite. □