Created
September 26, 2017 08:15
-
-
Save davewadestein/5cd54c707e24595afdb9d64429f69d54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## List Lab: Sieve of Eratosthenes | |
* create a list of the integers from 2 to 100 | |
* start from 2, and remove all of its multiples | |
* next, remove all multiples of 3, 5, etc. | |
* when you're done, only primes will remain | |
* when to stop? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment