Reducing the Space Used by the Sieve of Eratosthenes When Factoring
arXiv:2406.09150 · doi:10.1016/j.ipl.2024.106537
Abstract
We present a version of the sieve of Eratosthenes that can factor all integers in arithmetic operations using at most bits of space. This is an improved space bound under the condition that the algorithm takes at most time. We also show our algorithm performs well in practice.