Count the number of prime numbers less than a non-negative number, n
click to show more hints.
References: How Many Primes Are There?
Sieve of Eratosthenes
[Lehmer method] (http://en.wikipedia.org/wiki/Prime-counting_function)
[Lehmer method implementation] (http://www.codeitive.com/0QNejUPgXU/feasible-implementation-of-a-prime-counting-function-closed.html)