Sieve of Eratosthenes

[color=#ff0000][b]Repeat the action:[/b] [i]"Remove all proper multiples of the next remaining prime number[br]in the table"[/i]. [b]Start with the number 2.[/b][/color] The multiples will be 'removed' by clicking the[br]prime number. [i][color=#6aa84f][i][color=#6aa84f]When all proper multiples of all numbers in the first row are 'removed',[br]the table will contain only the primes (except 1).[/color][/i][/color][/i]

情報: Sieve of Eratosthenes