Computing pi(x): The Meissel, Lehmer, Lagarias, Miller, Odlyzko method

被引:23
作者
Deleglise, M
Rivat, J
机构
[1] partement de Mathematiques, Université Lyon 1, 69622 Villeurbanne Cedex
关键词
D O I
10.1090/S0025-5718-96-00674-6
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Let pi(x) denote the number of primes less than or equal to x. Our aim in this paper is to present some refinements of a combinatorial method for computing single values of 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 pi(x) in O(x(2/3)\log(2)x) time and O(x(1/3) log(3) x log log x) space. The algorithm has been implemented and used to compute pi(10(18)).
引用
收藏
页码:235 / 245
页数:11
相关论文
共 7 条
[1]  
BOHMAN J, 1972, BIT, V12, P576
[2]   COMPUTING PI-(X) - THE MEISSEL-LEHMER METHOD [J].
LAGARIAS, JC ;
MILLER, VS ;
ODLYZKO, AM .
MATHEMATICS OF COMPUTATION, 1985, 44 (170) :537-560
[3]   COMPUTING PI-(X) - AN ANALYTIC METHOD [J].
LAGARIAS, JC ;
ODLYZKO, AM .
JOURNAL OF ALGORITHMS, 1987, 8 (02) :173-191
[4]  
MEISSEL EDF, 1883, MATH ANN, V21, P304
[5]  
MEISSEL EDF, 1871, MATH ANN, V3, P523
[6]  
MEISSEL EDF, 1985, MATH ANN, V25, P289
[7]  
[No title captured]