Math.Prime.Sieve
withPrimes :: Int -> (Vector Int -> a) -> a Source #
newtype Sieve Source #
Constructors
sieve :: Int -> Sieve Source #
buildMoebiusTable :: Int -> Vector Int Source #