logistic_guy
Senior Member
- Joined
- Apr 17, 2024
- Messages
- 1,610
I am an engineer, so I understand things better when I see some calculations!It gets more accurate the higher you go.
Last edited:
I am an engineer, so I understand things better when I see some calculations!It gets more accurate the higher you go.
Now I understand what you mean here because I know that the logarithmic integral [ Li(x) ] yields better approximation for the number of prime numbers as x gets bigger.It gets more accurate the higher you go.
Yes the goal here is to find the best approximation only using arithmetic in order to get a more intuitive understanding of the primes.That was a beautiful start. I have seen before the prime number theorem which is ∼lnxx as well as Ramanujan's formula lnx−1x.
Also the Li(x) function is very famous in the integral world.
Li(10300)=∫210300lnx1 dx≈1.449750053×10297
So, the main idea of this thread is that your discovery is closer to the Li(x) function than other approximation methods?
Now I understand what you mean here because I know that the logarithmic integral [ Li(x) ] yields better approximation for the number of prime numbers as x gets bigger.
Let me apply your formula to my example.
π(100)=ln100−eln1001100≈30
It is still not a bad approximation compared to the actual value which is 25 while we used here a very small number.