There are "Infinitely" Many Primes!
We will use the symbols
to mean that
.
All numbers will be assumed to be positive integers. A number which has no
factors other than itself and 1 is called prime; if a
number isn't prime it's called composite.
Lemma 1. Every number
has
a prime factor.
Proof: If the number
is prime, then it has itself as a prime factor. If it's composite, it has some
factor
not equal to 1; if
isn't prime, it has a factor
,
not equal to 1, smaller than
;
if
isn't prime, it has a factor
,
not equal to 1, smaller than it. Continuing in this way, we get a sequence of
positive whole numbers:
where
each one divides the previous. This must terminate since there are only a
finite number of numbers less than
.
The last of these
's
must then be a prime factor of
.
Lemma 2.
never divides
.
Proof: When you divide
into
you get a quotient of
with a remainder of 1.
Theorem (Euclid). There are infinitely many primes.
Proof: Suppose there are only finitely many; call them
.
So these are the only primes. Let
(multiply all the primes together and add 1). By Lemma 1,
must have a prime factor
;
by Lemma 2,
can't be any of the primes
.
Since by assumption these are the only primes, this is
a contradiction, so there can't have been only a finite number of primes.
Please note that the use of the word "infinitely" here is not from Euclid. The Greeks never conceived of an infinite collection of anything as existing in reality. What Euclid proved might me more accurately phrased as "the list of primes is never-ending," or "for any collection of primes there is always another not on that list."