Abstract
Based on the sieve of Eratosthenes, a faster and more compact algorithm is presented for finding all primes between 2 and N.
- 1 Dijkstra, E.W. Gttarded commands, nondeterminacy and formal derivation of programs. Commun. ACM 18, 8 (Aug. 1975), 453-457. Google Scholar
Digital Library
- 2 Gries, D., and Misra, J. A linear sieve algorithm for finding prime numbers. Commz n. ACM 21, 12 (Dec. 1978), 999-1003. Google Scholar
Digital Library
- 3 Knuth, D. The Alt of Computer Programming. Vol. 2, 2d ed. 1981, p. 394.Google Scholar
- 4 Mairson, H.G. Same new upper bounds on the generation of prime numbers. Commltn. ACM 20, 9 (Sept. 1977), 664-669. Google Scholar
Digital Library
- 5 Pritchard, P. A sllblinear additive sieve for finding prime numbers. Commun. ACM 2,!, I (Jan. 1981), 18-23. Google Scholar
Digital Library
Index Terms
A practical sieve algorithm finding prime numbers







Comments