Skip to content

Sieve of Eratosthenes

puzzles

Level 1 of 3

Also called Eratosthenes' sieve and Prime number sieve.

fresh numbers

The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from sieve of eratosthenes's own run on the numbers shown.

choose one

question 1

How many crossings does the method make up to 20?

the answer, and why

the answer is B

2 makes 10 - 2 + 1, which is 9, and 3 makes 6 - 3 + 1, which is 4. 5 times 5 is past 20. In all, 13.

if you chose another

  • That is how many numbers are crossed out. 12 and 18 are crossed out twice.
  • That is 2's crossings alone.
  • That is how many primes are left.

new numbers

question 2

Up to 30, which number is the first to be crossed out a second time?

the answer, and why

the answer is B

2 crossed out 12 as 2 times 6. Then 3 starts at 9, and its next turn crosses out 12 again, as 3 times 4.

if you chose another

  • Only 2 crosses out 6. 3 starts at 9.
  • 3 crosses out 9 first. 2 never does, as 9 is odd.
  • 30 is crossed out a second time later, by 3, after 12, 18 and 24.

new numbers