An Improved Approach to the Sieve of Eratosthenes

For an explanation and easy improvemnts see Colin Runciman’s functional pearl “The primes using The Sieve of Eratosthenes”.

Found here in PDF or PS.

(via the PLT Discussion List)


Leave a Reply

Your email address will not be published. Required fields are marked *