Abstract
Let π ( x ) \pi (x) denote the number of primes ≤ x \le x . Our aim in this paper is to present some refinements of a combinatorial method for computing single values of π ( x ) \pi (x) , initiated by the German astronomer Meissel in 1870, extended and simplified by Lehmer in 1959, and improved in 1985 by Lagarias, Miller and Odlyzko. We show that it is possible to compute π ( x ) \pi (x) in O ( x 2 / 3 log 2 x ) O(\frac {x^{2/3}} {\log ^2x}) time and O ( x 1 / 3 log 3 x log log x ) O(x^{1/3}\log ^3x\log \log x) space. The algorithm has been implemented and used to compute π ( 10 18 ) \pi (10^{18}) .
Cite
CITATION STYLE
Deleglise, M., & Rivat, J. (1996). Computing 𝜋(𝑥): the Meissel, Lehmer, Lagarias, Miller, Odlyzko method. Mathematics of Computation, 65(213), 235–245. https://doi.org/10.1090/s0025-5718-96-00674-6
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.