Abstract
The sieve of Eratosthenes, a well known tool for finding primes, is presented in several algorithmic forms. The algorithms are analyzed, with theoretical and actual computation times given. The authors use the sieve in a refined form (the “dual sieve”) to find the distribution of primes in twenty arithmetic progressions to 1012. Tables of values are included.
Similar content being viewed by others
References
D. E. Knuth,The Art of Computer Programming Vol. IISeminumerical Algorithms, Addison Wesley, Reading, Mass. (1971).
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Bays, C., Hudson, R.H. The segmented sieve of eratosthenes and primes in arithmetic progressions to 1012 . BIT 17, 121–127 (1977). https://doi.org/10.1007/BF01932283
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01932283