Trisha Shetty (Editor)

Divergence of the sum of the reciprocals of the primes

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Divergence of the sum of the reciprocals of the primes

The sum of the reciprocals of all prime numbers diverges; that is:

Contents

p  prime 1 p = 1 2 + 1 3 + 1 5 + 1 7 + 1 11 + 1 13 + 1 17 + =

This was proved by Leonhard Euler in 1737, and strengthens Euclid's 3rd-century-BC result that there are infinitely many prime numbers.

There are a variety of proofs of Euler's result, including a lower bound for the partial sums stating that

p  prime p n 1 p ln ln ( n + 1 ) ln π 2 6

for all natural numbers n. The double natural logarithm (ln ln) indicates that the divergence might be very slow, which is indeed the case. See Meissel–Mertens constant.

The harmonic series

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

n = 1 1 n = 1 + 1 2 + 1 3 + 1 4 + =

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

n = 1 1 n = p ( 1 + 1 p + 1 p 2 + ) = p 1 1 p 1

(Here, the product is taken over all primes p; in this article, 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. Of course, the above "equation" is not necessary because the harmonic series is known (by other means) to diverge.

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.)

Euler's proof

Euler took the above product formula and proceeds to make a sequence of audacious leaps of logic. First, he took the natural logarithm of each side, then he used the Taylor series expansion for ln x as well as the sum of a converging series:

ln ( n = 1 1 n ) = ln ( p 1 1 p 1 ) = p ln ( 1 1 p ) = p ( 1 p + 1 2 p 2 + 1 3 p 3 + ) = p 1 p + 1 2 p 1 p 2 + 1 3 p 1 p 3 + 1 4 p 1 p 4 + = A + 1 2 B + 1 3 C + 1 4 D + = A + K

for a fixed constant K < 1. Then he invoked the relation

n = 1 1 n = ln ,

which he explained, for instance in a later 1748 work, by setting x = 1 in the Taylor series expansion

ln ( 1 1 x ) = n = 1 x n n .

This allowed him to conclude that

A = 1 2 + 1 3 + 1 5 + 1 7 + 1 11 + = ln ln .

It is almost certain that Euler meant 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, and a more precise version of this fact was rigorously proved by Franz Mertens in 1874. Thus Euler obtained a correct result by questionable means.

Erdős's proof by upper and lower estimates

The following proof by contradiction is due to Paul Erdős.

Let pi denote the ith prime number. Assume that the sum of the reciprocals of the primes converges; i.e.,

i = 1 1 p i <

Then there exists a smallest positive integer k such that

i = k + 1 1 p i < 1 2 ( 1 )

For a positive integer x, let Mx denote the set of those n in {1, 2, …, x} which are not divisible by any prime greater than pk (or equivalently all nx which are a product of powers of primes pipk). We will now derive an upper and a lower estimate for | Mx |, the number of elements in Mx. For large x, these bounds will turn out to be contradictory.

Upper estimate:

Every n in Mx can be written as n = m2r with positive integers m and r, where r is square-free. Since only the k primes p1, …, pk can show up (with exponent 1) in the prime factorization of r, there are at most 2k different possibilities for r. Furthermore, there are at most x possible values for m. This gives us the upper estimate

Lower estimate:

The remaining x − | Mx | numbers in the set difference {1, 2, …, x} Mx are all divisible by a prime greater than pk. Let Ni,x denote the set of those n in {1, 2, …, x} which are divisible by the ith prime pi. Then Since the number of integers in Ni,x is at most x/pi (actually zero for pi > x), we get Using (1), this implies x 2 < | M x | ( 3 )

This produces a contradiction: when x ≥ 22k + 2, the estimates (2) and (3) cannot both hold, because x/2 ≥ 2kx.

Proof that the series exhibits log-log growth

Here is another proof that actually gives a lower estimate for the partial sums; in particular, it shows that these sums grow at least as fast 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 four inequalities:

  • Every positive integer i can be uniquely expressed as the product of a square-free integer and a square. This gives the inequality
  • where for every i between 1 and n the (expanded) product corresponds to the square-free part of i and the sum corresponds to the square part of i (see fundamental theorem of arithmetic).
  • The upper estimate for the natural logarithm
  • The lower estimate 1 + x < exp(x) for the exponential function, which holds for all x > 0.
  • Let n ≥ 2. The upper bound (using a telescoping sum) for the partial sums (convergence is all we really need)
  • Combining all these inequalities, we see that

    ln ( n + 1 ) < i = 1 n 1 i p n ( 1 + 1 p ) k = 1 n 1 k 2 < 5 3 p n exp ( 1 p ) = 5 3 exp ( p n 1 p )

    Dividing through by 5/3 and taking the natural logarithm of both sides gives

    ln ln ( n + 1 ) ln 5 3 < p n 1 p

    as desired. ∎

    Using

    k = 1 1 k 2 = π 2 6

    (see the Basel problem), the above constant ln 5/3 = 0.51082… can be improved to ln π2/6 = 0.4977…; in fact it turns out that

    lim n ( p n 1 p ln ln ( n ) ) = M

    where M = 0.261497… is the Meissel–Mertens constant (somewhat analogous to the much more famous Euler–Mascheroni constant).

    Proof from Dusart's inequality

    From Dusart's inequality, we get

    p n < n ln n + n ln ln n for  n 6

    Then

    n = 1 1 p n n = 6 1 p n n = 6 1 n ln n + n ln ln n n = 6 1 2 n ln n =

    by the integral test for convergence. This shows that the series on the left diverges.

    Partial sums

    While the partial sums of the reciprocals of the primes eventually exceed any integer value, they never equal an integer.

    One proof is by induction: The first partial sum is 1/2, which has the form odd/even. If the nth partial sum (for n ≥ 1) has the form odd/even, then the (n + 1)st sum is

    odd even + 1 p n + 1 = odd p n + 1 + even even p n + 1 = odd + even even = odd even

    as the (n + 1)st prime pn + 1 is odd; since this sum also has an odd/even form, this partial sum cannot be an integer (because 2 divides the denominator but not the numerator), and the induction continues.

    Another proof rewrites the expression for the sum of the first n reciprocals of primes (or indeed the sum of the reciprocals of any set of primes) in terms of the least common denominator, which is the product of all these primes. Then each of these primes divides all but one of the numerator terms and hence does not divide the numerator itself; but each prime does divide the denominator. Thus the expression is irreducible and is non-integer.

    References

    Divergence of the sum of the reciprocals of the primes Wikipedia