WOLFRAM|DEMONSTRATIONS PROJECT

Approximations to the Distribution of Primes

​
plot range
The function
π(x)
, the prime-counting function, gives the number of primes less than or equal to
x
. The plots shown are of the differences between
π(x)
and the approximations to
π(x)
due to Gauss, Legendre, and Riemann.