Odd-only sieve
= Odd-only sieve
An odd-only sieve stores only odd candidates, handling the <prime> two separately. This reduces the candidate storage and avoids marking even composites repeatedly.
= Odd-only sieve
An odd-only sieve stores only odd candidates, handling the <prime> two separately. This reduces the candidate storage and avoids marking even composites repeatedly.