Sieve of Eratosthenes

Press space bar for the next number.