Prime Number Theorem

The Prime Number Theorem is one of the most famous theorems in mathematics. It states that the number of primes not exceeding n is asymptotic to , where log(n) is the logarithm of (n) to the base e.

The number of primes not exceeding n is commonly written as , the prime counting function. An asymptotic relationship between a(n) and b(n) is commonly designated as a(n)~b(n). (This does not mean that a(n)-b(n) is small as n increases. It means the ratio of a(n) to b(n) approaches one as n increases.)

The Prime Number Theorem thus states that ~ . That is, as n tends to infinity, the relative error between  and  tends to zero. This can be expressed using limit notation as

In other words, the limit (as n approaches infinity) of the ratio of pi(n) to n/log(n) is one. Put a third way,  is a good approximation for .

## Equivalent Statements[edit]

Carl Friedrich Gauss conjectured the equivalent statement that  was asymptotic to  defined as:

In fact, for large x this turns out to be a better approximation than . The size of the error  is closely related to the behavior of the Riemann Zeta function

## History of the Theorem[edit]

The theorem was first conjectured by Legendre and Gauss (independently) circa 1796. In 1848 and 1850, Chebyshev made significant progress towards proving the theorem using the Riemann zeta function and other non-elementary techniques. His non-elementary proof was completed in 1896 by Hadamard and Charles de la Vallee-Poussin.

The grand culmination of these efforts occurred in 1949 and 1950 when Paul Erdos and Atle Selberg presented an elementary proof of the theorem. This proof earned Selberg the highest prize in math, the Fields Medal.