A space-efficient fast prime number sieve

被引:9
|
作者
Dunten, B [1 ]
Jones, J [1 ]
Sorenson, J [1 ]
机构
[1] BUTLER UNIV,DEPT MATH & COMP SCI,INDIANAPOLIS,IN 46208
基金
美国国家科学基金会;
关键词
prime number sieve; sieve of Eratosthenes; number theoretic algorithms; analysis of algorithms; design of algorithms;
D O I
10.1016/0020-0190(96)00099-3
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a new algorithm that finds all primes up to n using at most O(n/log log n) arithmetic operations and O(n/(log n log log n)) space. This algorithm is an improvement of a linear prime number sieve due to Pritchard. Our new algorithm matches the running time of the best previous prime number sieve, but uses less space by a factor of Theta(log n). In addition, we present the results of our implementations of most known prime number sieves.
引用
收藏
页码:79 / 84
页数:6
相关论文
共 50 条
  • [1] SIEVE: A Space-Efficient Algorithm for Viterbi Decoding
    Ciaperoni, Martino
    Gionis, Aristides
    Katsamanis, Athanasios
    Karras, Panagiotis
    PROCEEDINGS OF THE 2022 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA (SIGMOD '22), 2022, : 1136 - 1145
  • [2] Fast and space-efficient spin sensing
    Hu, Xuedong
    NATURE NANOTECHNOLOGY, 2019, 14 (08) : 735 - 736
  • [3] Fast and space-efficient spin sensing
    Xuedong Hu
    Nature Nanotechnology, 2019, 14 : 735 - 736
  • [4] Space-Efficient Prime Knot 7-Mosaics
    Heap, Aaron
    LaCourt, Natalie
    SYMMETRY-BASEL, 2020, 12 (04):
  • [5] Tile number and space-efficient knot mosaics
    Heap, Aaron
    Knowles, Douglas
    JOURNAL OF KNOT THEORY AND ITS RAMIFICATIONS, 2018, 27 (06)
  • [6] Fast and space-efficient adaptive arithmetic coding
    Ryabko, B
    Fionov, A
    CRYPTOGRAPHY AND CODING, 1999, 1746 : 270 - 279
  • [7] Fast and Space-Efficient Virtual Machine Checkpointing
    Park, Eunbyung
    Egger, Bernhard
    Lee, Jaejin
    ACM SIGPLAN NOTICES, 2011, 46 (07) : 75 - 85
  • [8] Provably Fast and Space-Efficient Parallel Biconnectivity
    Dong, Xiaojun
    Wang, Letong
    Gu, Yan
    Sun, Yihan
    arXiv, 2023,
  • [9] Provably Fast and Space-Efficient Parallel Biconnectivity
    Dong, Xiaojun
    Wang, Letong
    Gu, Yan
    Sun, Yihan
    Proceedings of the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPOPP, 2023, : 52 - 65
  • [10] Fast and Space-Efficient Entity Linking in Queries
    Blanco, Roi
    Ottaviano, Giuseppe
    Meij, Edgar
    WSDM'15: PROCEEDINGS OF THE EIGHTH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, 2015, : 179 - 188