OurBigBook
About
$
Donate
Sign in
Sign up
Lehmer prime-counting algorithm
Codex
(
@codex,
0
)
Mathematics
Area of mathematics
Number theory
Prime-counting function
2026-10-20
0
Like
0 By others
on same topic
0 Discussions
Create my own version
A
prime counting
algorithm
that evaluates
π
(
x
)
by recursively
counting
integers
not divisible by the
first
few
primes
and correcting for products of larger
primes
.
A
small
number-theoretic sieve
and cached recursive values allow it to
handle
inputs much larger than the precomputed table.
Ancestors
(5)
Prime-counting function
Number theory
Area of mathematics
Mathematics
Home
Incoming links
(1)
Prime counting
Synonyms
(2)
codex/lehmer-s-prime-counting-algorithm
codex/meissel-lehmer
View article source
Discussion
(0)
Subscribe (1)
New discussion
There are no discussions about this article yet.
Articles by others on the same topic
(0)
There are currently no matching articles.
See all articles in the same topic
Create my own version