Sum of 1/primes for all primes

In summary, the conversation discusses the sum \sum_{p\leq N}\frac{1}{p} where p represents prime numbers. The question is whether this series converges or diverges as N approaches infinity. The proof, known by Euler, shows that the product of (1-1/p)^{-1} where p is all prime numbers \leq N diverges. This is further demonstrated by using the fact that x>\frac12 \log(1/(1-x)) when 0<x\leq 2. The conversation also briefly touches on another series and its convergence. The final conclusion is that the sum of prime numbers diverges very slowly, approximately as log(log(N)).
  • #1
suyver
248
0
Maybe most of you have seen this before, but I find it cool and that's why I thought I share it with you. :smile:

Lets look at the sum

[tex]\sum_{p\leq N}\frac{1}{p}[/tex]

where p represents only prime numbers. If I calculate the value for this sum when taking into account all prime numbers < 105 the result is 2.705 and taking into account all prime numbers < 107 the result still is only 3.041. The obvious question now is: does this series converge to a fixed value, or does it diverge? Surprisingly (for me the first time I saw it), this series diverges for [tex]N\rightarrow\infty[/tex]!

The proof was already known by Euler and goes like this:
Consider

[tex]\prod_{p\leq N}\left(1-\frac{1}{p}\right)^{-1}[/tex]

where the product goes over all prime numbers [tex]p\leq N[/tex]. Now we can use the geometrical series for (1 - 1/p)-1 = 1 + 1/p + 1/p2 + ... to find that

[tex]\prod_{p\leq N}\left(1-\frac{1}{p}\right)^{-1}=[/tex][tex]\prod_{p\leq N}\left(1+\frac{1}{p}+\frac{1}{p^2}+... \right)[/tex]

(continued in post II)
 
Last edited:
Mathematics news on Phys.org
  • #2
When working out the right-hand side, we get a sum of terms of 1/n where n consists of prime numbers [tex]\leq N[/tex]. More importantly, because of the unique prime factorisation for every n consisting of prime numbers [tex]\leq N[/tex] the term 1/n will occur in the summation! Therefore,

[tex]\prod_{p\leq N}\left(1+\frac{1}{p}+\frac{1}{p^2}+\cdots\right)\geq \sum_{n=1}^N \frac{1}{N}[/tex].

As the series on the right-hand side diverges for [tex]N\rightarrow\infty[/tex], it is concluded that the product on the left hand side also diverges.

Now for the final trick: use the fact that [tex]x>\frac12 \log(1/(1-x))[/tex] when [tex]0<x\leq 2[/tex] and you will see that:

[tex]\sum_{p\leq N}\frac{1}{p}>\frac12\sum_{p\leq N}\log\frac{1}{1-p^{-1}}=\frac12\log\left(\prod_{p\leq N}\left(1-\frac{1}{p}\right)^{-1}\right)[/tex]

Now we are done, because the right-hand side diverges for [tex]N\rightarrow\infty[/tex] and therefore also the sum over the primes must do so!

The divergence is very very slow (as could already be seen from the examples at the top of this post): it goes roughly as log(log(N)). Actually, I cannot think of a well-known series that diverges even slower than this.

Anyway, I hope somebody liked this!
 
Last edited:
  • #3
That's odd, I was going to ask whetehr this series was divergent. I thought that it would add up to one as you can put the natural numbers on a one to one basis with the primes, however this was more of a wild guess.
 
  • #4
How would you define a 1-1 relation between the prime numbers and the natural numbers? The prime numbers are randomly distributed over the natural numbers... And besides, the sum
[tex]\sum_{i=1}^\infty\frac{1}{i}[/tex]
diverges quite fast.

As to your idea that they might sum up to 1: 1/2 + 1/3 + 1/5 = 31/30 > 1.

Cheers,
-Freek.
 
  • #5
Oops the series I was actually interested in was:

[tex]\sum_{i=1}^{\infty}\prod_{i=1}^{n}\frac{1}{p_n}[/tex]

Ignore that first post, does this series converge or diverge?
 
  • #6
It converges. Consider that
[tex]\frac{\prod_{i=1}^{n}\frac{1}{p_n}}{\prod_{i=1}^{n+1}\frac{1}{p_n}}\h\geq 2[/tex]
Since the first term is [tex]\frac{1}{2}[/tex] the total sum is bounded above by
[tex]\sum_{i=1}^{\infty}\frac{1}{2^i}=1[/tex]
which is term-by-term larger than the prime product sum, and converges.
 
  • #7
I though that it would converge (as you've probably noticed it's the fraction of all natural numbers that aren't primes), but any idea to what (I orginally thought one, but that's just a guess)?
 
  • #8
Oops, i see now it must be less the one as your last post indicates.
 
  • #9
Originally posted by jcsd
I though that it would converge (as you've probably noticed it's the fraction of all natural numbers that aren't primes), but any idea to what (I orginally thought one, but that's just a guess)?

The limit is definitely less than one:

1/2+1/6+1/30+1/210=(105+35+7+1)/210=148/210 -> .704...

So the limit will be close to .70...
 

1. What is the "Sum of 1/primes for all primes"?

The "Sum of 1/primes for all primes" refers to a mathematical series where the terms are the reciprocal of prime numbers and the sum is taken over all prime numbers. In other words, it is the sum of 1/2 + 1/3 + 1/5 + 1/7 + ... where the denominators are all prime numbers.

2. What is the significance of the "Sum of 1/primes for all primes"?

The "Sum of 1/primes for all primes" is significant because it is the harmonic series for prime numbers. It has been proven that this series is divergent, meaning that the sum of its terms approaches infinity as more terms are added. This has implications in number theory and the study of prime numbers.

3. How is the "Sum of 1/primes for all primes" related to the Riemann Hypothesis?

The "Sum of 1/primes for all primes" is related to the Riemann Hypothesis through the Euler product formula. This formula connects the zeta function, which is central to the Riemann Hypothesis, to the prime numbers. The Riemann Hypothesis states that all non-trivial zeros of the zeta function lie on the critical line, which has implications for the distribution of prime numbers and therefore the "Sum of 1/primes for all primes".

4. How is the "Sum of 1/primes for all primes" used in cryptography?

The "Sum of 1/primes for all primes" is used in cryptography through the RSA algorithm. This algorithm utilizes the difficulty of factoring large numbers into their prime factors, which is related to the "Sum of 1/primes for all primes". The security of the RSA algorithm rests on the assumption that factoring large numbers is a hard problem, which in turn relies on the divergence of the "Sum of 1/primes for all primes".

5. What is the current known value of the "Sum of 1/primes for all primes"?

The current known value of the "Sum of 1/primes for all primes" is approximately 0.5772156649. This value is known as the Euler-Mascheroni constant and is an important mathematical constant in its own right. It is a mathematical constant with many applications in number theory, calculus, and physics.

Similar threads

Replies
13
Views
1K
Replies
2
Views
248
Replies
1
Views
901
Replies
5
Views
894
Replies
1
Views
1K
  • General Math
Replies
24
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
17
Views
470
Replies
20
Views
1K
  • General Math
Replies
1
Views
1K
Replies
8
Views
1K
Back
Top