Segmented Sieve of Eratosthenes
分段筛, segmented sieve1977
先求出√N以内的素数,再把区间[L, R)分成适合缓存的块,在每块中划去这些素数倍数的埃拉托斯特尼筛法变体。将内存降至约O(√N),可枚举大范围内的素数。
起源
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 — 2026-11-08 已通过 Crossref 核验书目信息
谱系
2 个算法,1 条关系
本算法的源头
从何派生而来
Sieve of Eratosthenes公元前240年
作者陈述Bays和Hudson的论文正如标题所示,讨论了分段执行的埃拉托斯特尼筛法 — doi:10.1007/BF01932283
代表性实现
暂无已登记的实现,可通过仓库分析来查找。 仓库分析
更多查找: GitHub · Semantic Scholar · Google Scholar · arXiv
贡献申明与异议
加载中…