If a subset of the primes has converging reciprocal sums, does it have relative density zero

analytic-number-theoryconvergence-divergencenumber theoryprime numberssequences-and-series

If a subset $A\subset\mathbb{N}$ of the natural numbers has positive lower density, i.e. there is an $\epsilon>0$ and a sequence $\{N_k\}$ of natural numbers s.t. $$\liminf_{k\to\infty}\frac{\lvert A\cap \{1,\dots, N_k\}\rvert}{N_k}>\epsilon,\text{ then }\sum_{a\in A}\frac{1}{a}$$ diverges; see here.

In the course of a proof I'm writing, I'm trying to see if the same holds if we instead consider the relative density of a subset of the primes. Specifically: let $B\subset\mathbb{P}$ be a subset of the primes such that $$\sum_{b\in B}\frac{1}{b}<\infty.$$ Does it then follow that $$\lim_{N\to\infty}\frac{\lvert B\cap\{1,\dots,N\}\rvert}{\pi(N)} = 0?$$ (Here $\pi(N)$ counts the number of primes not exceeding $N$).

Given that the sum of all reciprocals of the primes diverges and the first observation, I'm inclined to believe that the question can be answered in the positive, but I've had a hard time trying to imitate the proof of the linked post above to this scenario (using the contrapositive argument).

For what it's worth, the converse is not true, as shown here. There are subsets of primes with zero relative density and diverging sum of reciprocals. I'd be grateful for any pointers or references (or counterexamples, if there are some).

Best Answer

What do you get with $$\bigcup_{k\ge 1} \{ p \text{ prime}, p\in [e^{e^k},2 e^{e^k}]\}$$

Related Question