Prime number theorem
Encyclopedia : P : PR : PRI : Prime number theorem
- "PNT" redirects here. For , see National Peasants' Party.
Roughly speaking, the prime number theorem states that if you randomly select a number nearby some large number N, the chance of it being prime is about 1 / ln(N), where ln(N) denotes the natural logarithm of N. For example, near N = 10,000, about one in nine numbers is prime, whereas near N = 1,000,000,000, only one in every 21 numbers is prime.
In other words, the prime numbers "thin out" as one looks at larger and larger numbers, and the prime number theorem gives a precise description of exactly how much they thin out.
- 1 Statement of the theorem
- 2 The prime counting function in terms of the logarithmic integral
- 3 The issue of \"depth\"
- 4 The prime number theorem for arithmetic progressions
- 5 Bounds on the prime counting function
- 6 Approximations for the ''n''th prime number
- 7 Table of π(''x''), ''x'' / ln ''x'', and Li(''x'')
- 8 Analogue for irreducible polynomials over a finite field
- 9 See also
- 10 References
- 11 External links
Statement of the theorem
Let π(x) be the prime counting function that gives the number of primes less than or equal to x, for any real number x. For example, π(10) = 4 because there are four prime numbers (2, 3, 5 and 7) less than or equal to 10. The prime number theorem then states that the limit of the quotient of the two functions π(x) and x / ln(x) as x approaches infinity is 1. Using Landau notation this result can be written as
- [\pi(x)\sim\frac].
Based on the tables by Anton Felkel and Jurij Vega, the theorem was conjectured by Adrien-Marie Legendre in 1796 and proved independently by Hadamard and de la Vallée Poussin in 1896. The proof used methods from complex analysis, specifically the Riemann zeta function.
The prime counting function in terms of the logarithmic integral
Carl Friedrich Gauss conjectured that an even better approximation to π(x) is given by the offset logarithmic integral function Li(x), defined by
- [ \mbox(x) = \int_2^x \frac1 \,\mboxt = \mbox(x) - \mbox(2). ]
- [ \mbox(x) = \frac \sum_^\infty \frac = \frac + \frac + \frac + \cdots ]
- [ \pi(x)= (x) + O \left(x \mathrm^}\right) \quad\mbox x \to \infty]
- [\pi(x)= (x) + O \left(x \, \exp \left( -\frac}} \right) \right). ]
- [ \pi(x) = (x) + O\left(\sqrt x \ln x\right). ]
- [|\pi(x)-(x)|<\frac]
- [|\psi(x)-x|<\frac]
The logarithmic integral Li(x) is larger than π(x) for "small" values of x. However, in 1914, J. E. Littlewood proved that this is not always the case. The first value of x where π(x) exceeds Li(x) is around x = 10316; see the article on Skewes' number for more details.
The issue of \"depth\"
In the first half of the twentieth century, some mathematicians felt that there exists a hierarchy of techniques in mathematics, and that the prime number theorem is a "deep" theorem, whose proof requires complex analysis. Methods with only real variables were supposed to be inadequate. G. H. Hardy was one notable member of this group.
The formulation of this belief was somewhat shaken by a proof of the prime number theorem based on Wiener's tauberian theorem, though this could be circumvented by awarding Wiener's theorem "depth" itself equivalent to the complex methods. However, Paul Erdős and Atle Selberg found a so-called "elementary" proof of the prime number theorem in 1949, which uses only number-theoretic means. The Selberg-Erdős work effectively laid rest to the whole concept of "depth", showing that technically "elementary" methods (in other words combinatorics) were sharper than previously expected. Subsequent development of sieve methods showed they had a definite role in prime number theory.
Avigad et al. (2005) contains a computer verified version of this elementary proof in the Isabelle theorem prover.
The prime number theorem for arithmetic progressions
Let [\pi_(x)] denote the number of primes in the arithmetic progression a, a + n, a + 2n, a + 3n, … less than x. Dirichlet and Legendre conjectured, and Vallée Poussin proved, that, if a and n are coprime, then
- [\pi_(x) \sim \frac\mathrm(x),]
Bounds on the prime counting function
The prime number theorem is an asymptotic result. Hence, it cannot be used to bound π(x).
However, some bounds on π(x) are known, for instance
- [ \frac < \pi(x) < 1.25506 \, \frac. ]
Another useful bound is
- [\frac < \pi(x) < \frac \quad\mbox x \ge 55.]
Approximations for the nth prime number
As a consequence of the prime number theorem, one gets an asymptotic expression for the nth prime number, denoted by pn:
- [p_n \sim n \ln n.]
- [ p_n = n \ln n + n \ln \ln n + \frac \big( \ln \ln n - \ln n- 2 \big) + O\left( \frac \right). ]
- [ n \ln n + n\ln\ln n - n < p_n < n \ln n + n \ln \ln n \quad\mbox n \ge 6. ]
Table of π(x), x / ln x, and Li(x)
Here is a table that shows how the three functions π(x), x / ln x and Li(x) compare:
x π(x) π(x) − x / ln x Li(x) − π(x) x / π(x) 10 4 −0.3 2.2 2.500 102 25 3.3 5.1 4.000 103 168 23 10 5.952 104 1,229 143 17 8.137 105 9,592 906 38 10.425 106 78,498 6,116 130 12.740 107 664,579 44,158 339 15.047 108 5,761,455 332,774 754 17.357 109 50,847,534 2,592,592 1,701 19.667 1010 455,052,511 20,758,029 3,104 21.975 1011 4,118,054,813 169,923,159 11,588 24.283 1012 37,607,912,018 1,416,705,193 38,263 26.590 1013 346,065,536,839 11,992,858,452 108,971 28.896 1014 3,204,941,750,802 102,838,308,636 314,890 31.202 1015 29,844,570,422,669 891,604,962,452 1,052,619 33.507 1016 279,238,341,033,925 7,804,289,844,393 3,214,632 35.812 1017 2,623,557,157,654,233 68,883,734,693,281 7,956,589 38.116 1018 24,739,954,287,740,860 612,483,070,893,536 21,949,555 40.420 1019 234,057,667,276,344,607 5,481,624,169,369,960 99,877,775 42.725 1020 2,220,819,602,560,918,840 49,347,193,044,659,701 222,744,644 45.028 1021 21,127,269,486,018,731,928 446,579,871,578,168,707 597,394,254 47.332 1022 201,467,286,689,315,906,290 4,060,704,006,019,620,994 1,932,355,208 49.636 1023 1,925,320,391,606,818,006,727 37,083,513,766,592,669,113 7,236,148,412 51.939 The first column is sequence [A006880] in OEIS; the second column is sequence [A057835]; and the third column is sequence [A057752].
Analogue for irreducible polynomials over a finite field
There is an analogue of the prime number theorem that describes the "distribution" of irreducible polynomials over a finite field; the form it takes is strikingly similar to the case of the classical prime number theorem.
To state it precisely, let F = GF(q) be the finite field with q elements, for some fixed q, and let Nn be the number of monic irreducible polynomials over F whose degree is equal to n. That is, we are looking at polynomials with coefficients chosen from F, which cannot be written as products of polynomials of smaller degree. In this setting, these polynomials play the role of the prime numbers, since all other monic polynomials are built up of products of them. One can then prove that
- [N_n \sim \frac.]
- [\frac,]
One can even prove an analogue of the Riemann hypothesis, namely that
- [N_n = \fracn + O\left(\frac}\right).]
- [q^n = \sum_ d N_d,]
- [N_n = \frac1n \sum_ \mu(n/d) q^d,]
See also
- Abstract analytic number theory for information about generalizations of the theorem.
- Gaps between prime numbers
- Landau prime ideal theorem for a generalization to prime ideals in algebraic number fields.
References
- G.H. Hardy and J.E. Littlewood, "Contributions to the Theory of the Riemann Zeta-Function and the Theory of the Distribution of Primes", Acta Mathematica, 41(1916) pp.119-196.
- Jeremy Avigad, Kevin Donnelly, David Gray, and Paul Raff, [A formally verified proof of the prime number theorem], e-print cs. AI/0509025 in the ArXiv, 2005.
- Eric Bach and Jeffrey Shallit, Algorithmic Number Theory, volume 1, 1996, MIT Press. ISBN 0-262-02405-5, see page 233 in section 8.8.
- Andrew Granville, [Harald Cramér and the distribution of prime numbers], Scandinavian Actuarial Journal, vol. 1, pages 12–28, 1995.
- Donald Knuth, The Art of Computer Programming, volume 2, section 4.5.4, exercise 36, ISBN 0-201-89684-2.
- Lowell Schoenfeld, Sharper bounds for the Chebyshev functions θ(x) and ψ(x), II, Mathematics of Computation, vol. 30, no. 134, pp. 337–360, 1976.
- Ivan Soprounov, [A Short Proof of the Prime Number Theorem for Arithmetic Progressions], 1998.
External links
- [Table of Primes by Anton Felkel].
- [Prime formulas] and [Prime number theorem] at MathWorld.
- [Prime number theorem] on PlanetMath
- [How Many Primes Are There?] and [The Gaps between Primes] by Chris Caldwell, University of Tennessee at Martin.
- [Tables of prime counting functions] by Tomás Oliveira e Silva
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
