# Proof that the sum of the reciprocals of the primes diverges

In the third century BC, Euclid proved the existence of infinitely many prime numbers. In the 18th century, Leonhard Euler proved a stronger statement: the sum of the reciprocals of all prime numbers diverges to infinity. Here, we present a number of proofs of this result.

 Contents

## The harmonic series

First, we describe how Euler originally discovered the result. He was considering the harmonic series

[itex]\sum_{n=1}^\infty \frac{1}{n} =

1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + \cdots [itex]

He had already used the following "product formula" to show the existence of infinitely many primes.

[itex]\sum_{n=1}^\infty \frac{1}{n} = \prod_{p} \frac{1}{1-p^{-1}}

=\prod_{p} \left( 1+\frac{1}{p}+\frac{1}{p^2}+\cdots \right) [itex]

(Here, the product is taken over all primes p; in the following, a sum or product taken over p always represents a sum or product taken over a specified set of primes, unless noted otherwise.)

Such infinite products are today called Euler products. The product above is a reflection of the fundamental theorem of arithmetic. (Multiply out the right hand side as you would like to do.) Of course, the above "equation" is nonsense, because the harmonic series is known (by other means) to diverge. This type of formal manipulation was common at the time, when mathematicians were still experimenting with the new tools of calculus.

Euler noted that if there were only a finite number of primes, then the product on the right would clearly converge, contradicting the divergence of the harmonic series. (In modern language, we now say that the existence of infinitely many primes is reflected by the fact that the Riemann zeta function has a simple pole at s = 1.)

## First proof

Euler took the above product formula and proceeded to make a sequence of audacious leaps of logic. First, he took the logarithm of each side, then he used the Taylor series expansion for ln(1 − x) as well as the sum of a geometric series:

[itex]\ln \left( \sum_{n=1}^\infty \frac{1}{n}\right) = \ln \left( \prod_{p} \frac{1}{1-p^{-1}}\right)

= \sum_{p} \ln \left( \frac{1}{1-p^{-1}}\right) = \sum_{p} - \ln(1-p^{-1}) [itex]

[itex]= \sum_{p} \left( \frac{1}{p} + \frac{1}{2p^2} + \frac{1}{3p^3} + \cdots \right) = \left( \sum_{p}\frac{1}{p} \right) + \sum_{p} \frac{1}{p^2} \left( \frac{1}{2} + \frac{1}{3p} + \frac{1}{4p^2} + \cdots \right)[itex]
[itex]< \left( \sum_{p}\frac{1}{p} \right) + \sum_{p} \frac{1}{p^2} \left( 1 + \frac{1}{p} + \frac{1}{p^2} + \cdots \right) = \left( \sum_{p} \frac{1}{p} \right) + \left( \sum_{p} \frac{1}{p(p-1)} \right) < \left( \sum_{p} \frac{1}{p} \right) + C[itex]

for some fixed constant C. Since the sum of the reciprocals of the first n positive integers is asymptotic to ln(n), (i.e. their ratio approaches one as n approaches infinity), Euler then concluded

[itex]\frac{1}{2} + \frac{1}{3} + \frac{1}{5} + \frac{1}{7} + \frac{1}{11} + \cdots = \ln \ln (+ \infty)[itex]

This "equation" appears bizarre to modern eyes; however, it is almost certain that Euler intended it to be interpreted as saying that the sum of the reciprocals of the primes less than n is asymptotic to ln(ln(n)) as n approaches infinity. It turns out this is indeed the case; Euler had reached a correct result by questionable means.

The above proof can be slightly altered to meet the demands of present-day rigour. [to come...]

## Second proof

A proof by contradiction follows.

Assume that the sum of the reciprocals of the primes converges:

Define [itex]p_i[itex] as the ith prime number. We have:

[itex] \sum_{k=1}^\infty{1\over p_{k}} = c[itex]

There exists a positive integer i such that:

[itex] \sum_{k=1}^\infty{1\over p_{i+k}} < {1 \over 2}[itex]

Define N(x) as the number of positive integers n not exceeding x and not divisible by a prime other than the first i ones. Let us write this n as [itex]km^2[itex] with k square-free (which can be done with any integer). Since there are only i primes which could divide k, there are at most [itex]2^i[itex] choices for k. Together with the fact that there are at most [itex]\sqrt{x}[itex] possible values for m, this gives us:

[itex]N(x) \le 2^i\sqrt{x}[itex]

The number of positive integers not exceeding x and divisible by a prime other than the first i ones is equal to x - N(x).

Since the number of integers not exceeding x and divisible by p is at most x/p, we get:

[itex] x - N(x) < \sum_{k=1}^\infty{x\over p_{i+k}} < {x \over 2}[itex]

or:

[itex] {x \over 2} < N(x) \le 2^i\sqrt{x} [itex]

But this is impossible for all x larger than (or equal to) [itex] 2^{2i+2} [itex].

## Third proof

Here is another proof that actually gives an estimate for the sum; in particular, it shows that the sum grows at least as large as ln ln n. The proof is an adaptation of the product expansion idea of Euler. In the following, a sum or product taken over p always represents a sum or product taken over a specified set of primes.

The proof rests upon the following facts:

• Every positive integer n can be expressed as the product of a square-free integer and a square. This gives the inequality
[itex] \sum_{i=1}^n{\frac{1}{i}} \le \prod_{p \le n}{\left(1+\frac{1}{p}\right)}\sum_{k=1}^n{\frac{1}{k^2}} [itex]

The product corresponds to the square-free part of n and the sum corresponds to the square part of n. (See fundamental theorem of arithmetic.)

• The inequality
[itex] \ln n < \sum_{i=1}^n{\frac{1}{i}} [itex]

which can be obtained by considering approximating rectangles in the integral definition of ln n. (See natural logarithm.)

• The inequality 1 + x < exp(x), which holds for all x > 0. (See exponential.)
• The identity
[itex] \sum_{k=1}^\infty{\frac{1}{k^2}} = \frac{\pi^2}{6} [itex]

Actually, the exact sum is not necessary; we just need to know that the sum converges, and this can be shown using the p-test for series. (See series.)

Combining all these facts, we see that

[itex] \ln n < \sum_{i=1}^n{\frac{1}{i}} \le \prod_{p \le n}{\left(1+\frac{1}{p}\right)}\sum_{k=1}^n{\frac{1}{k^2}} < \frac{\pi^2}{6}\prod_{p \le n}{\exp\left(\frac{1}{p}\right)} = \frac{\pi^2}{6}\exp\left(\sum_{p \le n}{\frac{1}{p}}\right) [itex]

Dividing through by π2/6 and taking the natural log of both sides gives

[itex] \ln \ln n - \ln\left(\frac{\pi^2}{6}\right) < \sum_{p \le n}{\frac{1}{p}} [itex]

In fact it turns out that

[itex]\lim_{n \rightarrow \infty } \left(

\sum_{p \leq n} \frac{1}{p} - \ln(\ln(n)) \right)= M[itex]

where M is the Meissel-Mertens constant (somewhat analogous to the much more famous Euler-Mascheroni constant).

• Art and Cultures
• Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
• Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
• Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
• United States (http://www.academickids.com/encyclopedia/index.php/United_States)
• World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
• Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
• Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
• Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
• Space and Astronomy
• Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)