Prime Number Theorem

The Prime Number Theorem describes the asymptotic distribution of prime numbers. Let π(x) prime counting function. Then:

π(x)xln(x)

which means:

limx+π(x)xln(x)=1

Contributors to the theorem:

Both independently proved the theorem in 1896 using complex analysis and properties of the Riemann zeta function.

A sharper version: integrating the density

The statement π(x)xlnx is only a crude way to read the theorem. A much better approximation comes from recalling that primes are distributed with density δ(t)1lnt near t (see prime density). Integrating this density over all t up to x gives the expected number of primes:

π(x)2xdtlnt=Li(x),

the logarithmic integral. This is a far more accurate estimate of π(x) than xlnx:

limx+π(x)Li(x)=1,

and xlnx is simply the leading-order approximation to Li(x), hence to π(x).

The size of the residual error |π(x)Li(x)| is known to be o(x), but the sharp order remains open. The Riemann hypothesis is equivalent to the bound |π(x)Li(x)|=O(xlogx).

What we know for sure about the error

We know:

(limx|π(x)Li(x)|x=0)

and also

limx|π(x)Li(x)|x0.5=undefined

So,

Order(|π(x)Li(x)|)>x