CISSAlgorithm origin & lineage registry

AlgorithmsNumerics & probabilityEdit on GitHubEdit history

Meissel–Lehmer Algorithm

1870

An algorithm that computes the prime-counting function π(x) through Legendre's formula and recursion on the partial sieve function φ(x, a), without enumerating all primes up to x. Meissel devised it and Lehmer simplified it for computer calculation.

Origin

2 independent origins — credit is split among them
Ernst Meissel (1870). Ueber die Bestimmung der Primzahlenmenge innerhalb gegebener Grenzen. Mathematische Annalen 2.doi:10.1007/BF01444045 — checked against Crossref, 2026-11-08
D. H. Lehmer (1959). On the exact number of primes less than a given limit. Illinois Journal of Mathematics 3(3).doi:10.1215/ijm/1255455259 — checked against Crossref, 2026-11-08

Lineage

Algorithms 2 · Relations 1

Derived algorithms

What it led to
Lagarias–Miller–Odlyzko Algorithm1985OptimizationVerified95%

Author statementThe paper by Lagarias, Miller and Odlyzko, as its title says, computes π(x) faster by the Meissel–Lehmer method — doi:10.1090/S0025-5718-1985-0777285-5

Notable implementations

No implementations registered yet. Try a repo scan to find some. Repo scan

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…