sieve ( n -- sieve )


Vocabulary
math.primes.erato

Inputs
nan integer


Outputs
sievea byte-array


Word description
Apply Eratostene sieve up to n. n must be greater than 1. Primality can then be tested using marked-prime?.

Definition