I was reminded of Euler’s proof that there are infinitely many prime numbers in reading my new (used) copy of Karl Popper’s book “The Logic of Scientific Discovery”. My synopsis of that book should be coming soon. Euler is an inspiring figure on all accounts, a pioneer of most of the mathematics I use today.
First, a silly related proof, to get us in the mood.
Statement: All numbers are interesting.
Proof: Assume not. If so, there would be a smallest uninteresting number, and to some standards, that would be interesting.
Now the real thing:
Statement: There is an infinite number of prime numbers.
Proof (from Euler): Take all primes and assume that
is a finite number. We can make a new number which is the product of all primes, call it
, plus one:
. If our new number is prime, we are done. We have given a prescription for making new big primes. If not, our new number must be divisible by our old building blocks, the finite primes.
We have reached a contradiction. Let’s see why. If for some special prime divides , we also know that the special prime divides
. We can rewrite the first expression by adding zero as
so that we know
divides
. Sneakily, our prime divides
, as we can write
. Looking above, we recall
so that our special prime has an impossible task: to divide
, and thus cannot exist. That means that all along
was indeed not divisible by any of the finite primes, and thus is prime itself.
Within this proof, we also have shown that any number that divides two numbers, also divides their difference.