Sieve of Eratosthenes

Your first task is to click on number 1. One is not a prime number as it does not have two factors.


First task completed.
Number one has been removed.

Second task completed.
The multiples of two greater than two have been removed.

Third task completed.
The multiples of three greater than three have been removed.

Multiples of five have been removed.

Multiples of seven have been zapped.

Multiples of eleven are no more.

Goodbye multiples of thirteeen.

Asta lavista multiples of seventeen.

No more multiples of nineteen.

Adios multiples of twenty three.

Do you miss the multiples of twenty nine?

Good riddance multiples of thirty one.

Bye bye multiple of thirty seven.

Chao multiple of forty one.

The multiple of forty three has been exterminated!

Final task completed.
The one multiple of forty seven has been removed.

Well done!

There is no simple formula for generating the sequence of Prime numbers but a method devised many years ago by the mathematician Eratosthenes. It involves methodically eliminating the numbers that are know not to be prime until only the prime numbers remain. Begin by crossing out one as it is not a prime number (it does not have two factors, it is a square number). Two is a prime number but all of its multiples a not (they are composite numbers) so cross out all of the multiples of two but leave two as the first prime number. Next cross out all of the multiples of three except three itself. The number four and all of its multiples have already been crossed out as they are also multiples of two. Next cross out all the multiples of five except five itself. Continue this process until you have discovered as many prime numbers as you need.

The solution to this task is only available to those who have a Transum Subscription.

Do you have any comments? It is always useful to receive feedback and helps make this free resource even more useful for those learning Mathematics anywhere in the world. Click here to enter your comments.


©1997-2018 WWW.TRANSUM.ORG