So far in this series, we have proven that the sum of the inverses of all positive integers, i.e. the harmonic series, diverges and that the sum of the inverses of all squares is . You can find parts 1 and 2 here and here.

In this part 3, we’ll prove that the sum of the inverses of all prime numbers diverges, i.e. . So in that sense, it turns out, there are more prime numbers than there are square numbers, or the primes lie denser in the natural numbers than the squares.

Let’s dive right into it. The proof that I am going to present relies on the following **Lemma 1**:

I will not present the proof to this Lemma now but I might cover it in a later blog post. We should emphasize the fact that is approached from below by this product.

Now for the proof of the main theorem:

From Lemma 1 which in particular states that we can derive the special case . Taking the logarithm of both sides yields . The latter can be slightly re-arranged like this: by multiplying nominator and denominator by p and adding zero in the form of . The same trick can also be used to show that .

Now we have the following inequality for every N:

To which we can apply the geometric series on the left hand side:

This results in the following inequality:

Now we can connect both inequalities via their left-most product terms to get:

And we’re almost done! Remember that we wanted to show that the sum of the reciprocal primes diverges. All we have to observe now is that ., i.e., if the sum of the prime reciprocals converged than so would the whole right-hand side of (2). But that’s a contradiction to the well known fact that the left-hand side (which is smaller) converges (see Part 1 of this series of posts). Therefore, .