sieve of Eratosthenes
• a method created by the Greek mathematician Eratosthenes as a way of identifying prime numbers in a set. • keep the prime numbers but remove their multiples, starting with 2 ... until you get to the square root of the largest number in the set.
EXAMPLE: