Skip to content

Conversation

p-b-west
Copy link

The 'wheel,' which is the centrepiece of primes.clj, is unfathomable (to me and others) without exposure to O'Neill's paper "The Genuine Sieve of Eratosthenes."

I have added a reference to the paper, and an explanation of the rationale of the wheel, to the primes example. I have also included another version which generates the wheel from the initial vector of primes, which allows for experimenting with length of the initial vector of primes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant