The prime number theorem is a fundamental result in number theory describing the large-scale distribution of prime numbers. If counts the primes not exceeding , the theorem states that as tends to infinity, where denotes the natural logarithm. Thus, although individual primes occur irregularly, their cumulative number follows a precise asymptotic law. Jacques Hadamard and Charles-Jean de la Vallée Poussin independently proved the theorem in 1896. (dlmf.nist.gov)
Statement and interpretation
The prime-counting function is defined by
The prime number theorem asserts
or, equivalently,
Here the symbol means that the ratio of the two expressions approaches ; it does not mean that their difference approaches zero. (dlmf.nist.gov)
In terms of a limit, the statement says that for every , there is a threshold such that
This is a reformulation of the theorem: its basic content concerns relative error, rather than an exact count or a specified rate of convergence. (terrytao.wordpress.com)
A direct consequence is
Accordingly, the probability that an integer chosen uniformly from is prime is asymptotic to . This probability tends to zero, even though there are infinitely many primes. The probabilistic interpretation concerns the method of sampling integers, not randomness inherent in the primes themselves. (dlmf.nist.gov)
Equivalent formulations
Let denote the th prime, with
An equivalent formulation is
Thus the theorem can describe either the number of primes below a given bound or the approximate size of a prime with a given index. (dlmf.nist.gov)
For proofs, it is often more convenient to count primes with logarithmic weights. The Chebyshev functions are
where the second sum includes every prime power , with . The theorem is equivalent to either of the statements
The contributions from powers with are asymptotically smaller than , so they do not change the leading term. (math.ucdavis.edu)
Using the von Mangoldt function,
one can write
This weighted formulation connects prime counting to analytic identities more directly than the unweighted function . (terrytao.wordpress.com)
Historical development
The conjecture emerged from numerical investigations in the late eighteenth century. Carl Friedrich Gauss later recalled recognizing the approximate logarithmic density of primes in 1792 or 1793. Adrien-Marie Legendre published a related conjecture in 1798, proposing an approximation of the form
These investigations identified the correct leading scale before a proof was available. (publications.ias.edu)
In the nineteenth century, Pafnuty Chebyshev established upper and lower bounds of the correct order of magnitude. These showed that prime counting grows on the scale , but did not establish that the ratio tends to exactly . Bernhard Riemann introduced a decisive analytic perspective in his 1859 work linking primes to the complex zeros of the zeta function. (math.ucdavis.edu)
Hadamard and de la Vallée Poussin completed the first proofs in 1896 using complex analysis. In 1948, Atle Selberg and Paul Erdős developed elementary proofs, which were published in 1949. Here elementary means that the proofs avoid complex function theory; it does not mean that the arguments are short or easy. (terrytao.wordpress.com)
Analytic proof and the zeta function
The central analytic object is the Riemann zeta function,
The fundamental theorem of arithmetic gives its Euler product:
This identity encodes prime factorization in a function of a complex variable. Taking a logarithmic derivative yields
Consequently, the analytic behavior of governs sums involving . (terrytao.wordpress.com)
Through analytic continuation, the zeta function extends beyond the region where its defining series converges. It has a simple pole at . The decisive additional fact is that it has no zeros on the line
Together with suitable analytic arguments, this nonvanishing establishes , and hence the prime number theorem. Conversely, the theorem implies this nonvanishing property. The pole supplies the main term, while zeros control deviations from it. (terrytao.wordpress.com)
Elementary proofs
Selberg’s elementary approach begins with an asymptotic identity known as the Selberg symmetry formula:
The second sum runs over positive integers with . The formula couples a weighted prime-power count to products of two such weights. (terrytao.wordpress.com)
Additional estimates turn this relation into control of the error in , eventually showing that it is . The elementary proofs demonstrate that complex analysis is not logically indispensable to the theorem, although it provides a particularly powerful framework for understanding stronger estimates and generalizations. (terrytao.wordpress.com)
More accurate approximations and error terms
A more informative approximation is the logarithmic integral. Using the nonsingular normalization
one has
It differs by a constant from the conventional principal-value function , so this choice does not affect the asymptotic estimates discussed here. (terrytao.wordpress.com)
Repeated integration by parts gives the asymptotic expansion
for each fixed nonnegative integer . This is an expansion with finitely many retained terms, not a convergent infinite series. Corresponding expansions hold for . (dlmf.nist.gov)
A classical unconditional estimate, written using big-O notation, is
for some constant . The Vinogradov–Korobov estimate improves this to
Both quantify convergence far more precisely than the basic theorem. (dlmf.nist.gov)
The Riemann hypothesis asserts that all nontrivial zeta zeros have real part . It would imply the substantially stronger estimate
The prime number theorem itself requires a weaker zero-free statement and does not depend on assuming the Riemann hypothesis. (terrytao.wordpress.com)
Arithmetic progressions
An important generalization concerns primes in residue classes, expressed through modular arithmetic. For fixed positive integer and integer satisfying , define
Then
where Euler’s totient function counts the residue classes relatively prime to . Thus primes are asymptotically equally distributed among the admissible classes for a fixed modulus. (dlmf.nist.gov)
The requirement that remain fixed matters: uniform estimates when the modulus grows with require additional results. Analytic proofs of this generalization use Dirichlet -functions, extending the role played by the zeta function in the ordinary theorem. (terrytao.wordpress.com)
Consequences and limitations
Subtracting the theorem’s estimates at and , for any fixed , gives
This derived statement counts primes in intervals whose length is a fixed proportion of their starting point. It does not automatically provide comparable estimates in much shorter intervals, because the errors in two cumulative counts can exceed the number being sought. (terrytao.wordpress.com)
Likewise, the approximation describes a large-scale frequency, not the probability of primality for an unspecified individual integer. The theorem neither determines exact prime locations nor establishes independence between primality at neighboring integers. Questions about prescribed patterns, such as pairs of primes differing by , require information beyond an asymptotic count of single primes. (terrytao.wordpress.com)
References
- DLMF: §27.2 Functionsdlmf.nist.gov
- DLMF: §27.12 Asymptotic Formulas: Primesdlmf.nist.gov
- 246B, Notes 4: The Riemann zeta function and the prime number theoremterrytao.wordpress.com
- The Prime Number Theoremmath.ucdavis.edu
- The Prime Number Theorempublications.ias.edu
- Not Always Buried Deep: A Second Course in Elementary Number Theorypollack.uga.edu
- Structure and randomness in the prime numbersterrytao.wordpress.com
- Expository articlesterrytao.wordpress.com
- A Banach algebra proof of the prime number theoremterrytao.wordpress.com
- 254A, Notes 2: Complex-analytic multiplicative number theoryterrytao.wordpress.com