# Prime Number Theorem

Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
Citable Version  [?]

This editable Main Article is under development and subject to a disclaimer.

The list of prime numbers suggests that they thin out the further you go: 44% of the one-digit numbers are prime, but only 23% of the two-digit numbers and 16% of the three-digit numbers. The trial division method provides an intuitive explanation. To test whether a number ${\displaystyle n}$ is prime, you have to try whether it can be divided by all numbers between 2 and ${\displaystyle {\sqrt {n}}}$. Large numbers have to undergo more tests, so fewer of them will be prime.

The Prime Number Theorem explains how fast the prime numbers thin out. It says that if you are looking around the number ${\displaystyle n}$, about one in every ${\displaystyle \log n}$ numbers is prime (here, ${\displaystyle \log n}$ denotes the natural logarithm of ${\displaystyle n}$). The formal statement of the Prime Number Theorem is

${\displaystyle \lim _{x\to \infty }{\frac {\pi (x)\log x}{x}}=1}$

where ${\displaystyle \pi (x)}$ denotes the number of primes ${\displaystyle \leq x}$. This result was demonstrated independently by Jacques Hadamard and Charles de la Vallée Poussin in 1896. An essential part of their proof is the function

${\displaystyle \zeta (s)=\sum _{n=1}^{\infty }{\frac {1}{n^{s}}}.}$

This function was already considered by the 18th century Swiss mathematician Leonhard Euler, who realized that

${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n^{s}}}=\prod _{p\in \mathbb {P} }{\frac {1}{1-p^{-s}}},}$

where the product on the right goes over all prime numbers:

${\displaystyle \prod _{p\in \mathbb {P} }{\frac {1}{1-p^{-s}}}={\frac {1}{1-2^{-s}}}\,{\frac {1}{1-3^{-s}}}\,{\frac {1}{1-5^{-s}}}\,{\frac {1}{1-7^{-s}}}\cdots }$

To see why this is so, we use the formula for the sum of a geometric series to write the product as

${\displaystyle \left(1+{\frac {1}{2^{s}}}+{\frac {1}{2^{2s}}}+{\frac {1}{2^{3s}}}+\cdots \right)\left(1+{\frac {1}{3^{s}}}+{\frac {1}{3^{2s}}}+{\frac {1}{3^{3s}}}+\cdots \right)\left(1+{\frac {1}{5^{s}}}+{\frac {1}{5^{2s}}}+{\frac {1}{5^{3s}}}+\cdots \right)\cdots .}$

Multiplying out this product, we get a sum of terms of the form

${\displaystyle {\frac {1}{(p_{1}^{a_{1}}p_{2}^{a_{2}}\cdots p_{k}^{a_{k}})^{s}}},}$

where ${\displaystyle p_{1}}$, ..., ${\displaystyle p_{k}}$ are prime numbers and ${\displaystyle a_{1}}$, ..., ${\displaystyle a_{k}}$ are positive integers. Euler's formula equating the sum and the product now follows from the fact that every number has a unique factorization into primes. This also indicates the connection between the function ${\displaystyle \zeta }$ and the prime numbers.

Euler used his formula to give an alternative proof that there are infinitely many primes. If we take ${\displaystyle s=1}$, we get

${\displaystyle \sum _{n=1}^{\infty }{\frac {1}{n}}=\prod _{p\in \mathbb {P} }{\frac {1}{1-{\frac {1}{p}}}}.}$

The sum on the left is the harmonic series, which diverges. If the number of primes were finite, then the product would evaluate to a finite number. This contradiction shows that there are infinitely many primes.

The above definition for the function ${\displaystyle \zeta }$ only works when ${\displaystyle s>1}$, because the infinite sum diverges otherwise, but a technique called analytic continuation can be used to extend the definition to all values of ${\displaystyle s}$, including complex numbers. The function with the extended domain is known as the Riemann zeta function. Hadamard and de la Vallée Poussin proved that this function cannot be zero in certain parts of the complex plane and used this to establish the prime number theorem. A proof not relying on complex analysis proved elusive, even though weaker results on the distribution of prime numbers have long been known[1][2]. It was only in 1949 that Atle Selberg and Paul Erdős were able to establish the theorem by elementary means.

The location of the values ${\displaystyle s}$ for which ${\displaystyle \zeta }$(${\displaystyle s}$) is zero is one of the biggest mysteries in contemporary mathematics. The Riemann hypothesis states all the zeros of the Riemann zeta function lie on two lines in the complex plane. A proof of the Riemann hypothesis would lead immediately to more precise estimates on how fast the function ${\displaystyle \pi (n)}$ grows.

1. Ribenboim, Introduction to Analytic Number theory
2. Scharlau and Opolka, From Fermat to Minkowski