Proof. Assume—for the sake of contradiction—that the elements in the set of all prime numbers are finite, and thus define the following sets,
Here,
and
. To show that
, notice that
is the set of all natural numbers of the form
, where
and
; whereas
includes all natural numbers of the form
, where
. It will now be shown that for any sufficiently large range
, the total amount of natural numbers of the form
is greater than the total amount of natural numbers of the form
. By doing so, it would be concludable that
, for any sufficiently large range
and thus the set
always contains more elements than
, up to that range
. Which would then be used to form a contradiction.
Now, since
is the set of all natural numbers of the form
, where
and
. Therefore, for the
ith prime
, the natural numbers of the form
, where
, are as follows,
Now, the number of natural numbers of the form
, where
, less than or equal to a large range
yields,
where,
or
. Since
in the expression
, therefore
in the expression
represents a count of natural numbers of the form
less than or equal to the given range
. Now, to count the number of natural numbers of the general form of
less than or equal to the given range
, the following is done.
Here,
is such a prime number for which
and
, for all
. If
is large enough, then
, where
. This implies that the amount of natural numbers of the form
,
,
, ⋯,
less than or equal to
are
, respectively. Now, summing these quantities results in the total amount of natural numbers of the general form
, less than or equal to
. Let such a total amount be
. Now, note that
in the expression
for all
is greater than 1, as each
n in the expression
is an element of
(i.e., greater than 1). As a result,
, as shown below.
where,
represents the total amount of natural numbers of the form
, where
and
, less than or equal to
.
Now, on the other hand, since the set
contains all natural numbers of the form
, where
. Therefore, for the
ith natural number
, the natural numbers of the form
, where
, are as follows,
Now, the number of natural numbers of the form
less than or equal to a large range
yields,
where,
or
. Since
in the expression
, therefore
in the expression
represents a count of natural numbers of the form
less than or equal to the given range
. Now, to count the amount of natural numbers of the general form
less than or equal to the given range
, the following is done.
Here,
is such a natural number for which
and
, for all
. This implies that the amount of natural numbers of the form
less than or equal to
are
, respectively. Now, summing these quantities results in the total amount of natural numbers of the general form
, less than or equal to
. Let such a total quantity be
. Now, note that
in the expression
for all
is greater than 1, as each
n in the expression
is an element of
(i.e., greater than 1). As a result,
, as shown below.
where,
represents the total amount of natural numbers of the form
, where
, less than or equal to
Now, comparing Equation (1) and (2), we get,
Since, in the expression
,
, therefore
represents
. Which is the Harmonic number
minus 1. Therefore,
. Similarly,
represents the sum of the reciprocals of the prime numbers. Therefore,
. As a result, we have the following.
Now, since
and
[
9] for sufficiently large values of the terms
n obtained by choosing a sufficiently large range
, and
; therefore,
for sufficiently large values of
n. As a result,
, for sufficiently large
n. This implies that
This implies that for any sufficiently large range , the total amount of natural numbers of the form is always less than that of the form . In other words, the number of elements in is always greater than the number of elements in , up to any sufficiently large range . As a result, for any sufficiently large range , since for , therefore such that . Since , therefore, , , , where . However, if , then, , , where . This implies that , , therefore, by the definition of a prime number, . However, this contradicts the premise that .
Should be in for even large range , then, since also for , therefore such that and the rest follows a similar contradiction! Thus, the argument can be repeated endlessly with every new chosen large range , proving the infinitude of the prime numbers each time by contradiction. This completes the proof. □