Eratosthenes algorithm of prime numbers search.