3 people like it.
Like the snippet!
Simple implementation of the Sieve of Eratosthenes with set arithmetic.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 

Link:  http://fssnip.net/7XR 
Posted:  2 years ago 
Author:  galacticdessert 
Tags:  eratosthenes , euler , math , project euler , set , sets , sieve , sieve of eratosthenes 