Sieve of Eratosthenes

Initialize the prime numbers from 2 to 683.
Find rest of the prime number from 683+1 to N^0.5.
Test IN with the prime number from 2 to IN^0.5.