|Li(x) - pi(x)| goes to 0 under RH?

Click For Summary

Discussion Overview

The discussion revolves around the relationship between the Riemann Hypothesis (RH) and the prime counting function, specifically the expression |Li(x) - π(x)| and its behavior as x approaches infinity. Participants explore the implications of the RH on the constant c in the inequality |Li(x) - π(x)| ≤ c(√x)ln(x), as well as the existence of better approximations for prime counting.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question whether the constant c in the inequality approaches 0 as x goes to infinity, with one participant asserting that c is a constant and does not change.
  • There is mention of a specific value for c, cited as c = 1/(8π) for x > 2657, contingent on the truth of the Riemann Hypothesis.
  • Participants discuss the existence of better approximations for |Li(x) - π(x)| that may depend on x, with references to sources that provide exact formulas under the assumption that RH is true.
  • One participant reflects on the trade-off between precision and computational efficiency when using approximations versus exact formulas for prime counting.
  • Another participant elaborates on the use of Fourier series and the zeta function in approximating prime numbers, emphasizing the importance of understanding the weights of contributions from the zeros of the zeta function.

Areas of Agreement / Disagreement

Participants express differing views on the behavior of the constant c and the utility of approximations versus exact formulas. The discussion does not reach a consensus on these points, indicating multiple competing views remain.

Contextual Notes

Participants note that the validity of certain approximations and constants may depend on specific conditions, such as the truth of the Riemann Hypothesis and the range of x considered.

nomadreid
Gold Member
Messages
1,773
Reaction score
256
Extremely quick question:
According to http://mathworld.wolfram.com/PrimeNumberTheorem.html, the Riemann Hypothesis is equivalent to
|Li(x)-π(x)|≤ c(√x)*ln(x) for some constant c.
Am I correct that then c goes to 0 as x goes to infinity?
Does any expression exist (yet) for c?
Thanks.
 
Mathematics news on Phys.org
nomadreid said:
Extremely quick question:
According to http://mathworld.wolfram.com/PrimeNumberTheorem.html, the Riemann Hypothesis is equivalent to
|Li(x)-π(x)|≤ c(√x)*ln(x) for some constant c.
Quick answer:
Am I correct that then c goes to 0 as x goes to infinity?
No. ##c## is a constant factor and goes nowhere. However, there are better approximations which may depend on x.
Does any expression exist (yet) for c?
Thanks.
Wikipedia has ##c=\dfrac{1}{8\pi}## found by L. Schoenfeld.
 
  • Like
Likes   Reactions: nomadreid
Super! Thanks, fresh_42
 
fresh_42 said:
Wikipedia has ##c=\dfrac{1}{8\pi}## found by L. Schoenfeld.
For x>2657 (and only if the Riemann hypothesis is true, of course). Smaller values probably require a larger c, and we have to exclude x=1 of course.
 
  • Like
Likes   Reactions: nomadreid
Thanks for the precision, mfb.
I followed up on fresh_42 's remark
fresh_42 said:
there are better approximations which may depend on x.
to find better approximations, and found one at one source that I have not been able to find elsewhere: the first entry on
https://www.quora.com/What-is-the-relationship-between-the-Riemann-Hypothesis-and-prime-numbers
gives an exact formula which depends on the zeros of the zeta function under the assumption that the RH is correct and p primes: via a Möbius tranformation of:
formula.PNG


PS. After writing this, I noticed https://en.wikipedia.org/wiki/Prime-counting_function#Exact_form, which I presume is equivalent to the above.
 

Attachments

  • formula.PNG
    formula.PNG
    2.9 KB · Views: 589
Last edited:
mfb said:
For x>2657 (and only if the Riemann hypothesis is true, of course). Smaller values probably require a larger c, and we have to exclude x=1 of course.
As an add-on: This is standard for big-O notations, that they are only valid from a certain level on. E.g. the matrix exponent for 2 x 2 matrices is exactly ##\log_27## but there are better bounds for larger ##n##, but it doesn't make the constant a variable.
 
  • Like
Likes   Reactions: nomadreid
After letting these answers ferment in my head for a while, I conclude that the answer to my implicit question about why we talk about approximations if there are exact formulas such as the one listed in the Wikipedia page
Counting.PNG

where μ(n) is the Möbius function, is that although this formula would be indeed exact (assuming RH), it is so tedious as to not be of much use even if we had an efficient method for producing non-trivial zeros, just as the brute-force counting is indeed an exact algorithm but of no use for large numbers, so that the approximations referred to are more important because they are reasonably tractable. That is, we sacrifice precision for speed. I hope this is an accurate representation?
 

Attachments

  • Counting.PNG
    Counting.PNG
    2.4 KB · Views: 558
The Riemanm Hypothesis is basically a Fourier series representation of a function we have no way of describing long term properties of otherwise. Suppose I want to know roughly what the 10^10^10th prime number is for some futuristic encryption process. What does roughly mean? It means that I can get you in the ball park of the desired prime, using the prime number theorem, but I still need to get closer, but not exact. How would I do that? I could pretend I have the exact function, but in terms of other equations, maybe at first I only care about the average order/general growth form. That gets me pretty close but I need to make sure that I am not getting the next prime or the previous prime. I know the average growth order, but my actual prime counting function kinda oscillates around that growth order function. What if I use a sort of Fourier series representation, letting the waves cancel out when my average order is equal to the prime counting function, and adding up or down to take my average order function and correct it to look like the prime counting function? That would be what I needed, but how would I garentee I get the correct weights on my waves? How do I garentee that I choose the correct waves? It turns out that the Prime Counting Function can be shaped into another function purely by using algebra. Taking that new equation, and applying a special kind of Fourier transform to it gets us to the an expression including the zeta function?! Well look at that. Okay, but what are the weights? Well if we look at when 1/zeta is infinite, we can use the complex analysis to tease out the weights. So if we care about when 1/zeta is infinite, then we also care about when zeta is 0. All zeros and poles if the zeta function, including the trival zeros contribute to the approximation expression, and the more contributions we allow, the less it looks like an approximation. So as it appears, we can find the nth prime number by forming the approximation, and then just including enough terms. The difference from other prime solving methods is the computational complexity. Suppose I want to even prove that the numbers up at 10^10^10 are prime or not, let alone, tell if its the one I want? Well, a primality test requires I check my number against all the numbers which come before it. Considering the prime gaps at this height are very large in magnitude, ill be checking numbers all day...er all decade. Instead, I can just form the approximation out of these important points, and I know/suspect where they all are, so as long as I just look there, I can ignore the rest of the function, also if I know the zeros, and have them stored, then I never have to find them again. It turns out to be very useful/faster to use the zeta function to find information about the primes. I don't even need an infinite number of zeros, because I don't need a perfect approximation, only good enough that my appoximation is not changing much anymore for me to be confident.
 
  • Like
Likes   Reactions: nomadreid

Similar threads

  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 26 ·
Replies
26
Views
7K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 53 ·
2
Replies
53
Views
12K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K