Step by step
The question
Question: prove that there are infinitely many primes.
1 Assume the opposite
Suppose the opposite: there are only a few primes.
Call them p 1, p 2, up to p k.
Careful!
N itself does not have to be prime.
But its prime factors are not on the list.
2 Work it out
Multiply them all, then add 1.
Call it N.
Divide N by any prime on the list: the product goes in exactly, and 1 is left over.
But N is bigger than 1, so it has a prime factor.
We saw that with factor trees.
3 Find the contradiction
That prime factor cannot be on the list: they all leave 1.
So the list was not all the primes!
The opposite led to nonsense, so the primes never run out.
4 Check
Try the list 2, 3, 5: N is 31, a prime not on the list.
A longer list: 30031 is 59 times 509.
Not prime, but 59 and 509 are new primes.
Right!
Let's look back.
First: assume the opposite.
Then: work it out.
Then: find the contradiction.
Last: check.