A prime counting function I have never seen

That was a beautiful start. I have seen before the prime number theorem which is xlnx\displaystyle \sim \frac{x}{\ln x} as well as Ramanujan's formula xlnx1\displaystyle \frac{x}{\ln x - 1}.

Also the Li(x)\displaystyle \text{Li}(x) function is very famous in the integral world.

Li(10300)=2103001lnx dx1.449750053×10297\displaystyle \text{Li}\left(10^{300}\right) = \int_{2}^{10^{300}} \frac{1}{\ln x} \ dx \approx 1.449750053 \times 10^{297}

So, the main idea of this thread is that your discovery is closer to the Li(x)\displaystyle \text{Li}(x) function than other approximation methods?

It gets more accurate the higher you go.
Now I understand what you mean here because I know that the logarithmic integral [ Li(x) ]\displaystyle [ \ \text{Li}(x) \ ] yields better approximation for the number of prime numbers as x\displaystyle x gets bigger.

Let me apply your formula to my example.

π(100)=100ln100e1ln10030\displaystyle \large \pi(100) = \frac{100}{\ln 100 - e^{\frac{1}{\ln 100}}} \approx 30

It is still not a bad approximation compared to the actual value which is 25\displaystyle 25 while we used here a very small number.
 
That was a beautiful start. I have seen before the prime number theorem which is xlnx\displaystyle \sim \frac{x}{\ln x} as well as Ramanujan's formula xlnx1\displaystyle \frac{x}{\ln x - 1}.

Also the Li(x)\displaystyle \text{Li}(x) function is very famous in the integral world.

Li(10300)=2103001lnx dx1.449750053×10297\displaystyle \text{Li}\left(10^{300}\right) = \int_{2}^{10^{300}} \frac{1}{\ln x} \ dx \approx 1.449750053 \times 10^{297}

So, the main idea of this thread is that your discovery is closer to the Li(x)\displaystyle \text{Li}(x) function than other approximation methods?


Now I understand what you mean here because I know that the logarithmic integral [ Li(x) ]\displaystyle [ \ \text{Li}(x) \ ] yields better approximation for the number of prime numbers as x\displaystyle x gets bigger.

Let me apply your formula to my example.

π(100)=100ln100e1ln10030\displaystyle \large \pi(100) = \frac{100}{\ln 100 - e^{\frac{1}{\ln 100}}} \approx 30

It is still not a bad approximation compared to the actual value which is 25\displaystyle 25 while we used here a very small number.
Yes the goal here is to find the best approximation only using arithmetic in order to get a more intuitive understanding of the primes.
 
Top