Lehmer prime-counting algorithm 2026-10-20
Linear sieve 2026-10-20
A number-theoretic sieve that visits each composite number exactly once, through its smallest prime factor. Keep a growing list of prime numbers; for each , generate only for stored primes . Each composite has a unique representation admitted by this rule, giving arithmetic updates up to .
Polynomial sieve Created 2026-10-20 Updated 2026-10-25
A sieve that marks reducible polynomials by their divisibility by smaller irreducible polynomials. It is the polynomial-ring analogue of a number-theoretic sieve.
Prime counting 2026-10-20
Prime counting evaluates the prime-counting function: it determines how many prime numbers do not exceed a given bound. A number-theoretic sieve can construct the whole table up to a moderate bound, while methods such as the Lehmer prime-counting algorithm group whole classes of integers to evaluate much larger arguments without listing every prime number.
Prime sieve 2026-10-20
A number-theoretic sieve used to enumerate prime numbers by excluding composite numbers. The sieve of Eratosthenes marks multiples of each discovered prime, beginning at its square.
Segmented sieve 2026-10-20