AlgorithmsNumerics & probabilityEdit on GitHubEdit history
Segmented Sieve of Eratosthenes
segmented sieve1977
A variant of the sieve of Eratosthenes that first finds the primes up to √N and then crosses out their multiples block by block over cache-sized segments of a range [L, R). It reduces memory to about O(√N), allowing primes to be enumerated over large ranges.
Origin
Carter Bays, Richard H. Hudson (1977). The segmented sieve of eratosthenes and primes in arithmetic progressions to 10¹². BIT 17(2).doi:10.1007/BF01932283 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Sieve of Eratosthenes240 BCE
Author statementThe paper by Bays and Hudson, as its title says, treats the sieve of Eratosthenes performed segment by segment — doi:10.1007/BF01932283
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…