Proof
Suppose that there are only finitely many primes, say
p1, ..., pr.
Construct the integer
m = p1 ···
pr + 1. Then m > 1. The integer m
is not divisible by any of the pi (i = 1, ...,
r).
The smallest divisor larger than 1 of m is a prime.
This is a prime that is not in our list. Contradiction.