Computing π(x): An analytic method
The determination of the exact value of \(\pi(x)\), the number of primes not exceeding \(x\), is notoriously difficult. One can, of course, list all the primes \(p\leq x\) using the sieve of Eratosthenes, but the process takes about \(x\) units of time and also requires more than \(x\) units of storage locations. Even the ingenious partial sieving method developed by \textit{E. D. F. Meissel} [Math. Ann. 2, 636--642 (1870; Zbl 02721118)] and extended by \textit{D. H. Lehmer} [Ill. J. Math. 3, 381--388 (1959; Zbl 0086.26201)] still requires, for any \(\varepsilon >0\), \(x^{1-\varepsilon}\) units of time, although \textit{V. Miller} and the authors recently [Math. Comput. 44, 537--560 (1985; Zbl 0564.10006)] refined this method so that it requires only \(O(x^{2/3+\varepsilon})\) time and \(O(x^{1/3+\varepsilon})\) storage locations. The authors introduce a radically new method: the analytic \(\pi(x)\)-algorithm. Their proposed scheme can be used to calculate \(\pi(x)\) in \(O(x^{3/5-2b/5+\varepsilon})\) time and \(O(x^{b+\varepsilon})\) storage locations with any \(b\) satisfying \(0\leq b\leq 1/4\). The algorithm is based on a suitable perturbation of the ``exact formula \[ \sum_{p}\sum_{m,\quad p^ m\leq x}\frac{1}{m}=\frac{1}{2\pi i}\int_{(a)}\frac{x^ s}{s}\log \zeta (s) \,ds , \] valid for \(x\neq p^ m\) and \(a>1\). The double sum here can be converted to \(\pi(x)\) by calculating, in \(O(x^{1/2+\varepsilon})\) time, the contribution from proper prime powers. The real difficulty lies with the integral which is only conditionally convergent. The perturbation is a suitable replacement of the kernel \(x^ s/s\) which will speed up the convergence and enable one to evaluate the integral numerically. It is then necessary to calculate also the difference due to the replacement, but this can be retrieved via the Mellin transform. Being an analytic method, the implementation of the algorithm still requires much additional work to find explicit constants associated with various asymptotic estimates. Consequently, in the immediate future, the method is not yet competitive with the more practical Meissel-Lehmer method which has been used to calculate \(\pi (4\times 10^{16})\).
- Computing π(x): The Meissel-Lehmer Method
- scientific article; zbMATH DE number 3851187
- Computing 𝜋(𝑥): the Meissel, Lehmer, Lagarias, Miller, Odlyzko method
- Computing (x) analytically
- An improved analytic method for calculating \(\pi(x)\)
- A practical analytic method for calculating \(\pi(x)\)
- scientific article; zbMATH DE number 2147625
- Computing prime harmonic sums
- The prime-counting function and its analytic approximations. \(\pi(x)\) and its approximations
- scientific article; zbMATH DE number 4095540
- Computational strategies for the Riemann zeta function
- Summing \(\mu(n)\): a faster elementary algorithm
- Isolating some non-trivial zeros of zeta
- Computing prime harmonic sums
- Complexity of short generating functions
- scientific article; zbMATH DE number 7234864 (Why is no real title available?)
- scientific article; zbMATH DE number 3851187 (Why is no real title available?)
- Fast Algorithms for Multiple Evaluations of the Riemann Zeta Function
- Computing π(x): The Meissel-Lehmer Method
- scientific article; zbMATH DE number 3987351 (Why is no real title available?)
- scientific article; zbMATH DE number 176881 (Why is no real title available?)
- Computing 𝜓(𝑥)
- Fonction sommatoire de la fonction de Möbius 1. Majorations expérimentales
- Computing the Summation of the Möbius Function
- Computations of the Mertens function and improved bounds on the Mertens conjecture
- scientific article; zbMATH DE number 2147625 (Why is no real title available?)
- On the Order of the Mertens Function
- Computing 𝜋(𝑥): the Meissel, Lehmer, Lagarias, Miller, Odlyzko method
- Computing (x) analytically
- A practical analytic method for calculating \(\pi(x)\)
- Deterministic methods to find primes
- New fast methods to compute the number of primes smaller than a given value
- An explicit economical additive basis
- Computing \(\pi (N)\): an elementary approach in \(\tilde{O}(\sqrt{N})\) time
- Polynomial-time pseudodeterministic construction of primes
- An improved analytic method for calculating \(\pi(x)\)
This page was built for publication: Computing π(x): An analytic method
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3758923)