Published October 21, 2022
| Version v1
Preprint
Open
On the upper bound of the difference between the prime counting function and the logarithmic integral
Description
Let \(\pi(x)\) denote the prime counting function and let \(\mathrm{li}(x)\) denote the logarithmic integral. We prove that \(\pi(x)-\mathrm{li}(x)=\mathcal{O}(\sqrt{x}\log{x})\). The novelty of our approach lies in using new relations between \(\pi(x)\) and the double sum of reciprocals of primes \(\sum_{k=2}^x\sum_{p \leq k} \frac{1}{p}\). By applying these relations, we develop a method on how to obtain a formula for \(\pi(x)-\mathrm{li}(x)\) without using a complex analysis. Among all of the other interesting implications, our result implies a more regular distribution of primes than implied from the prime number theorem.