Function ADS::sieve

Function Documentation

inline std::vector<U64> ADS::sieve(U64 n)

the primes up to n, increasing, by the sieve of Eratosthenes

Post:

the primes up to n, as isPrimeTrial() finds them (an audit)