An algorithm due to Bengalloun that continuously enumerates the primes is adapted to give the first prime number sieve that is simultaneously sublinear, additive, and smoothly incremental: - it employs only Θ(n/log log n) additions of numbers of size O(n) to enumerate the primes up to n, equalling the performance of the fastest known algorithms for fixed n; - the transition from n to n + 1 takes only O(1) additions of numbers of size O(n). (On average, of course, O(1) such additions increase the limit up to which all primes are known from n to n + Θ(log log n)).
CITATION STYLE
Pritchard, P. (1994). Improved incremental prime number sieves. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 877 LNCS, pp. 280–288). Springer Verlag. https://doi.org/10.1007/3-540-58691-1_67
Mendeley helps you to discover research relevant for your work.