Reducing the Space Used by the Sieve of Eratosthenes When Factoring
Abstract
We present a version of the sieve of Eratosthenes that can factor all integers x in O(x x) arithmetic operations using at most O(x/ x) bits of space. This is an improved space bound under the condition that the algorithm takes at most O(x x) time. We also show our algorithm performs well in practice.
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.