Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explanation of 'wheel' data on primes.clj, and version which generates wheel from initial primes. #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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