prime counting function

discrete curve

last updated: 2003-08-01

h12pif1f.gif (1352 bytes)

The prime counting function p(n) gives the number of primes equal or less than n.

According the Prime Number Theorem 1), for large n the function is approximated by the logarithmic prime counting approximation.

Better approximations of the function have been found as:


notes

1) Ash 1971 p. 196.