Eratosthenes' sieve is an algorithm to make a
list of primes.
Using this sieve we can find all the primes in the interval [1,n].
The number of such primes can be approximated as follows.
Let prime(n) be the number of primes in the interval [1,n]. Then we have
prime(n) ~ n/log(n)
when n tends to infinity.