Prime number theorem

From Wikipedia, the free encyclopedia
(Redirected from Prime Number Theorem)
Jump to navigation Jump to search

Template:Short description Template:Log(x) Template:Duplication In mathematics, the prime number theorem (PNT) describes the asymptotic distribution of prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying the rate at which this occurs. The theorem was proved independently by Jacques Hadamard[1] and Charles Jean de la Vallée Poussin[2] in 1896 using ideas introduced by Bernhard Riemann (in particular, the Riemann zeta function).

The first such distribution found is π(N) ~ Template:SfracScript error: No such module "Check for unknown parameters"., where π(N)Script error: No such module "Check for unknown parameters". is the prime-counting function (the number of primes less than or equal to N) and log(N)Script error: No such module "Check for unknown parameters". is the natural logarithm of Template:Mvar. This means that for large enough Template:Mvar, the probability that a random integer not greater than Template:Mvar is prime is very close to 1 / log(N)Script error: No such module "Check for unknown parameters".. In other words, the average gap between consecutive prime numbers among the first Template:Mvar integers is roughly log(N)Script error: No such module "Check for unknown parameters"..[3] Consequently, a random integer with at most 2nScript error: No such module "Check for unknown parameters". digits (for large enough Template:Mvar) is about half as likely to be prime as a random integer with at most Template:Mvar digits. For example, among the positive integers of at most 1000 digits, about one in 2300 is prime (log(101000) ≈ 2302.6Script error: No such module "Check for unknown parameters".), whereas among positive integers of at most 2000 digits, about one in 4600 is prime (log(102000) ≈ 4605.2Script error: No such module "Check for unknown parameters".).

Statement

File:Prime number theorem ratio convergence.svg
Graph showing ratio of the prime-counting function π(x)Script error: No such module "Check for unknown parameters". to two of its approximations, x / log xScript error: No such module "Check for unknown parameters". and Li(x)Script error: No such module "Check for unknown parameters".. As Template:Mvar increases (note Template:Mvar axis is logarithmic), both ratios tend towards 1. The ratio for x / log xScript error: No such module "Check for unknown parameters". converges from above very slowly, while the ratio for Li(x)Script error: No such module "Check for unknown parameters". converges more quickly from below.
File:Prime number theorem absolute error.svg
Log–log plot showing absolute error of x / log xScript error: No such module "Check for unknown parameters". and Li(x)Script error: No such module "Check for unknown parameters"., two approximations to the prime-counting function π(x)Script error: No such module "Check for unknown parameters".. Unlike the ratio, the difference between π(x)Script error: No such module "Check for unknown parameters". and x / log xScript error: No such module "Check for unknown parameters". increases without bound as Template:Mvar increases. On the other hand, Li(x) − π(x)Script error: No such module "Check for unknown parameters". switches sign infinitely many times.

Let π(x)Script error: No such module "Check for unknown parameters". be the prime-counting function defined to be the number of primes less than or equal to Template:Mvar, for any real number Template:Mvar. For example, π(10) = 4Script error: No such module "Check for unknown parameters". because there are four prime numbers (2, 3, 5 and 7) less than or equal to 10. The prime number theorem then states that x / log xScript error: No such module "Check for unknown parameters". is a good approximation to π(x)Script error: No such module "Check for unknown parameters". (where log here means the natural logarithm), in the sense that the limit of the quotient of the two functions π(x)Script error: No such module "Check for unknown parameters". and x / log xScript error: No such module "Check for unknown parameters". as Template:Mvar increases without bound is 1:

limxπ(x)[xlog(x)]=1,

known as the asymptotic law of distribution of prime numbers. Using asymptotic notation this result can be restated as

π(x)xlogx.

This notation (and the theorem) does not say anything about the limit of the difference of the two functions as Template:Mvar increases without bound. Instead, the theorem states that x / log xScript error: No such module "Check for unknown parameters". approximates π(x)Script error: No such module "Check for unknown parameters". in the sense that the relative error of this approximation approaches 0 as Template:Mvar increases without bound.

The prime number theorem is equivalent to the statement that the Template:Mvarth prime number Template:Mvar satisfies

pnnlog(n),

the asymptotic notation meaning, again, that the relative error of this approximation approaches 0 as Template:Mvar increases without bound. For example, the Script error: No such module "val".th prime number is Script error: No such module "val".,[4] and (Script error: No such module "val".)log(Script error: No such module "val".) rounds to Script error: No such module "val"., a relative error of about 6.4%.

On the other hand, the following asymptotic relations are logically equivalent:[5]Template:Rp

limxπ(x)logxx=1, andlimxπ(x)logπ(x)x=1.

As outlined below, the prime number theorem is also equivalent to

limxϑ(x)x=limxψ(x)x=1,

where Template:Mvar and Template:Mvar are the first and the second Chebyshev functions respectively, and to

limxM(x)x=0,Template:R

where M(x)=nxμ(n) is the Mertens function.

History of the proof of the asymptotic law of prime numbers

Based on the tables by Anton Felkel and Jurij Vega, Adrien-Marie Legendre conjectured in 1797 or 1798 that π(a)Script error: No such module "Check for unknown parameters". is approximated by the function a / (A log a + B)Script error: No such module "Check for unknown parameters". , where Template:Mvar and Template:Mvar are unspecified constants. In the second edition of his book on number theory (1808) he then made a more precise conjecture, with A = 1Script error: No such module "Check for unknown parameters". and B = −1.08366Script error: No such module "Check for unknown parameters". . Carl Friedrich Gauss considered the same question at age 15 or 16 "in the year 1792 or 1793", according to his own recollection in 1849.[6] In 1838 Peter Gustav Lejeune Dirichlet came up with his own approximating function, the logarithmic integral li(x)Script error: No such module "Check for unknown parameters". (under the slightly different form of a series, which he communicated to Gauss). Both Legendre's and Dirichlet's formulas imply the same conjectured asymptotic equivalence of π(x)Script error: No such module "Check for unknown parameters". and x / log(x)Script error: No such module "Check for unknown parameters". stated above, although it turned out that Dirichlet's approximation is considerably better if one considers the differences instead of quotients.

In two papers from 1848 and 1850, the Russian mathematician Pafnuty Chebyshev attempted to prove the asymptotic law of distribution of prime numbers. His work is notable for the use of the zeta function ζ(s)Script error: No such module "Check for unknown parameters"., for real values of the argument "Template:Mvar", as in works of Leonhard Euler, as early as 1737. Chebyshev's papers predated Riemann's celebrated memoir of 1859, and he succeeded in proving a slightly weaker form of the asymptotic law, namely, that if the limit as Template:Mvar goes to infinity of π(x) / (x / log(x))Script error: No such module "Check for unknown parameters". exists at all, then it is necessarily equal to one.[7] He was able to prove unconditionally that this ratio is bounded above and below by 0.92129 and 1.10555, for all sufficiently large Template:Mvar.[8][9] Although Chebyshev's paper did not prove the Prime Number Theorem, his estimates for π(x)Script error: No such module "Check for unknown parameters". were strong enough for him to prove Bertrand's postulate that there exists a prime number between nScript error: No such module "Check for unknown parameters". and 2nScript error: No such module "Check for unknown parameters". for any integer n ≥ 2Script error: No such module "Check for unknown parameters"..

An important paper concerning the distribution of prime numbers was Riemann's 1859 memoir "On the Number of Primes Less Than a Given Magnitude", the only paper he ever wrote on the subject. Riemann introduced new ideas into the subject, chiefly that the distribution of prime numbers is intimately connected with the zeros of the analytically extended Riemann zeta function of a complex variable. In particular, it is in this paper that the idea to apply methods of complex analysis to the study of the real function π(x)Script error: No such module "Check for unknown parameters". originates. Extending Riemann's ideas, two proofs of the asymptotic law of the distribution of prime numbers were found independently by Jacques Hadamard[1] and Charles Jean de la Vallée Poussin[2] and appeared in the same year (1896). Both proofs used methods from complex analysis, establishing as a main step of the proof that the Riemann zeta function ζ(s)Script error: No such module "Check for unknown parameters". is nonzero for all complex values of the variable Template:Mvar that have the form s = 1 + itScript error: No such module "Check for unknown parameters". with t > 0Script error: No such module "Check for unknown parameters". .[10]

During the 20th century, the theorem of Hadamard and de la Vallée Poussin also became known as the Prime Number Theorem. Several different proofs of it were found, including the "elementary" proofs of Atle Selberg (1949)[11] and Paul Erdős (1949).[12] Hadamard's and de la Vallée Poussin's original proofs are long and elaborate; later proofs introduced various simplifications through the use of Tauberian theorems but remained difficult to digest. A short proof was discovered in 1980 by the American mathematician Donald J. Newman.[13][14] Newman's proof is arguably the simplest known proof of the theorem, although it is not "elementary" since it uses Cauchy's integral theorem from complex analysis.

Proof sketch

Here is a sketch of the proof referred to in one of Terence Tao's lectures.[15] Like most proofs of the PNT, it starts out by reformulating the problem in terms of a less intuitive, but better-behaved, prime-counting function. The idea is to count the primes (or a related set such as the set of prime powers) with weights to arrive at a function with smoother asymptotic behavior. The most common such generalized counting function is the Chebyshev function ψ(x)Script error: No such module "Check for unknown parameters"., defined by

ψ(x)=k1p is primepkx,logp.

This is sometimes written as

ψ(x)=nxΛ(n),

where Λ(n)Script error: No such module "Check for unknown parameters". is the von Mangoldt function, namely

Λ(n)={logp if n=pk for some prime p and integer k1,0otherwise.

It is now relatively easy to check that the PNT is equivalent to the claim that

limxψ(x)x=1.

Indeed, this follows from the easy estimates

ψ(x)=p is primepxlogplogxlogpp is primepxlogx=π(x)logx

and (using [[big O notation|big Template:Mvar notation]]) for any ε > 0Script error: No such module "Check for unknown parameters".,

ψ(x)p is primex1εpxlogpp is primex1εpx(1ε)logx=(1ε)(π(x)+O(x1ε))logx.

The next step is to find a useful representation for ψ(x)Script error: No such module "Check for unknown parameters".. Let ζ(s)Script error: No such module "Check for unknown parameters". be the Riemann zeta function. It can be shown that ζ(s)Script error: No such module "Check for unknown parameters". is related to the von Mangoldt function Λ(n)Script error: No such module "Check for unknown parameters"., and hence to ψ(x)Script error: No such module "Check for unknown parameters"., via the relation

ζ(s)ζ(s)=n=1Λ(n)ns.

A delicate analysis of this equation and related properties of the zeta function, using the Mellin transform and Perron's formula, shows that for non-integer Template:Mvar the equation

ψ(x)=xlog(2π)ρ:ζ(ρ)=0xρρ

holds, where the sum is over all zeros (trivial and nontrivial) of the zeta function. This striking formula is one of the so-called explicit formulas of number theory, and is already suggestive of the result we wish to prove, since the term Template:Mvar (claimed to be the correct asymptotic order of ψ(x)Script error: No such module "Check for unknown parameters".) appears on the right-hand side, followed by (presumably) lower-order asymptotic terms.

The next step in the proof involves a study of the zeros of the zeta function. The trivial zeros −2, −4, −6, −8, ... can be handled separately:

n=112nx2n=12log(11x2),

which vanishes for large Template:Mvar. The nontrivial zeros, namely those on the critical strip 0 ≤ Re(s) ≤ 1Script error: No such module "Check for unknown parameters"., can potentially be of an asymptotic order comparable to the main term Template:Mvar if Re(ρ) = 1Script error: No such module "Check for unknown parameters"., so we need to show that all zeros have real part strictly less than 1.

Non-vanishing on Re(s) = 1

To do this, we take for granted that ζ(s)Script error: No such module "Check for unknown parameters". is meromorphic in the half-plane Re(s) > 0Script error: No such module "Check for unknown parameters"., and is analytic there except for a simple pole at s = 1Script error: No such module "Check for unknown parameters"., and that there is a product formula

ζ(s)=p11ps

for Re(s) > 1Script error: No such module "Check for unknown parameters".. This product formula follows from the existence of unique prime factorization of integers, and shows that ζ(s)Script error: No such module "Check for unknown parameters". is never zero in this region, so that its logarithm is defined there and

logζ(s)=plog(1ps)=p,npnsn.

Write s = x + iyScript error: No such module "Check for unknown parameters". ; then

|ζ(x+iy)|=exp(n,pcosnylogpnpnx).

Now observe the identity

3+4cosϕ+cos2ϕ=2(1+cosϕ)20,

so that

|ζ(x)3ζ(x+iy)4ζ(x+2iy)|=exp(n,p3+4cos(nylogp)+cos(2nylogp)npnx)1

for all x > 1Script error: No such module "Check for unknown parameters".. Suppose now that ζ(1 + iy) = 0Script error: No such module "Check for unknown parameters".. Certainly Template:Mvar is not zero, since ζ(s)Script error: No such module "Check for unknown parameters". has a simple pole at s = 1Script error: No such module "Check for unknown parameters".. Suppose that x > 1Script error: No such module "Check for unknown parameters". and let Template:Mvar tend to 1 from above. Since ζ(s) has a simple pole at s = 1Script error: No such module "Check for unknown parameters". and ζ(x + 2iy)Script error: No such module "Check for unknown parameters". stays analytic, the left hand side in the previous inequality tends to 0, a contradiction.

Finally, we can conclude that the PNT is heuristically true. To rigorously complete the proof there are still serious technicalities to overcome, due to the fact that the summation over zeta zeros in the explicit formula for ψ(x)Script error: No such module "Check for unknown parameters". does not converge absolutely but only conditionally and in a "principal value" sense. There are several ways around this problem but many of them require rather delicate complex-analytic estimates. Edwards's book[16] provides the details. Another method is to use Ikehara's Tauberian theorem, though this theorem is itself quite hard to prove. D.J. Newman observed that the full strength of Ikehara's theorem is not needed for the prime number theorem, and one can get away with a special case that is much easier to prove.

Newman's proof of the prime number theorem

D.J. Newman gives a quick proof of the prime number theorem (PNT). The proof is "non-elementary" by virtue of relying on complex analysis, but uses only elementary techniques from a first course in the subject: Cauchy's integral formula, Cauchy's integral theorem and estimates of complex integrals. Here is a brief sketch of this proof. See [14] for the complete details.

The proof uses the same preliminaries as in the previous section except instead of the function  ψ , the Chebyshev function  ϑ(x)=pxlogp  is used, which is obtained by dropping some of the terms from the series for  ψ. Similar to the argument in the previous proof based on Tao's lecture, we can show that ϑ(x) ≤ π(x) log xScript error: No such module "Check for unknown parameters". , and ϑ(x) ≥ ( 1 − ɛ )( π(x) + O( x1 − ɛ ) ) log xScript error: No such module "Check for unknown parameters". for any 0 < ɛ < 1Script error: No such module "Check for unknown parameters". . Thus, the PNT is equivalent to  limx ϑ(x) x=1. Likewise instead of   ζ(s) ζ(s)  the function  Φ(s)=px logp ps   is used, which is obtained by dropping some terms in the series for   ζ(s) ζ(s). The functions  Φ(s)  and   ζ(s) ζ(s)  differ by a function holomorphic on  (s)=1. Since, as was shown in the previous section,  ζ(s)  has no zeroes on the line  =1 , and  Φ(s)1 s1   has no singularities on  (s)=1.

One further piece of information needed in Newman's proof, and which is the key to the estimates in his simple method, is that   ϑ(x) x  is bounded. This is proved using an ingenious and easy method due to Chebyshev.

Integration by parts shows how  ϑ(x)  and  Φ(s)  are related: For  (s)>1 ,

Φ(s)=1dϑ(x)xs =s1ϑ(x) xs+1 dx=s0ϑ(et) est dt.

Newman's method proves the PNT by showing the integral

I0( ϑ(et) et1)dt.

converges, and therefore the integrand goes to zero as  t , which is the PNT. In general, the convergence of the improper integral does not imply that the integrand goes to zero at infinity, since it may oscillate, but since  ϑ  is increasing, it is easy to show in this case.

To show the convergence of  I , for  (z)>0  let

gT(z)0Tf(t) eztdt and g(z)0f(t) eztdt where f(t) ϑ(et) et1 

then

limTgT(z)=g(z)= Φ(s) s1 s1 wherezs1 

which is equal to a function holomorphic on the line  (z)=0.

The convergence of the integral  I , and thus the PNT, is proved by showing that  limTgT(0)=g(0). This involves change of order of limits since it can be written  limT limz0gT(z)=limz0 limTgT(z)  and therefore classified as a Tauberian theorem.

The difference  g(0)gT(0)  is expressed using Cauchy's integral formula and then shown to be small for large  T  by estimating the integrand: Fix  R>0  and  δ>0  so that  g(z)  is holomorphic in the region where  |z|R and (z)δ , and let  C  be the boundary of that region. Since 0Script error: No such module "Check for unknown parameters". is in the interior of the region, Cauchy's integral formula gives

g(0)gT(0)=1 2πi C( g(z)gT(z) )  dz z=12πiC( g(z)gT(z) ) F(z)  dz z 

where  F(z)ezT(1+z2 R2 )  is the factor introduced by Newman, which does not change the integral since  F  is entire and  F(0)=1.

To estimate the integral, break the contour  C  into two parts,  C=C++C  where  C+C{z | (z)>0}  and  CC{z | (z)0}. Then

 g(0)gT(0)=C+TH(t,z)dt dzC0TH(t,z)dtdz+Cg(z) F(z)dz 2πiz  ,

where  H(t,z)f(t) etzF(z) 2πi . Note that   ϑ(x) x , and hence  f(t) , are bounded; so let  B  be some upper bound:  B|f(t)|.

This bound, combined with the estimate  |F|  2 exp(T (z)) |(z)| R  for  |z|=R , together give that the absolute value of the first integral must be   B R. The integrand over  C  in the second integral is entire, so by Cauchy's integral theorem, the contour  C  can be modified to a semicircle of radius  R  in the left half-plane without changing the integral, and the same argument as for the first integral gives the absolute value of the second integral must be   B R. Finally, letting  T , the third integral goes to zero since  ezT  and hence  F  goes to zero on the contour. Combining the two estimates and the limit get

lim supT | g(0)gT(0) |   2B R .

This holds for any  R  so  limTgT(0)=g(0) , and the PNT follows.

Prime-counting function in terms of the logarithmic integral

In a handwritten note on a reprint of his 1838 paper "Script error: No such module "Lang".", which he mailed to Gauss, Dirichlet conjectured (under a slightly different form appealing to a series rather than an integral) that an even better approximation to π(x)Script error: No such module "Check for unknown parameters". is given by the offset logarithmic integral function Li(x)Script error: No such module "Check for unknown parameters"., defined by

Li(x)=2xdtlogt=li(x)li(2).

Indeed, this integral is strongly suggestive of the notion that the "density" of primes around Template:Mvar should be 1 / log tScript error: No such module "Check for unknown parameters".. This function is related to the logarithm by the asymptotic expansion

Li(x)xlogxk=0k!(logx)k=xlogx+x(logx)2+2x(logx)3+

So, the prime number theorem can also be written as π(x) ~ Li(x)Script error: No such module "Check for unknown parameters".. In fact, in another paper[17] in 1899 de la Vallée Poussin proved that

π(x)=Li(x)+O(xealogx)as x

for some positive constant Template:Mvar, where O(...)Script error: No such module "Check for unknown parameters". is the [[big O notation|big Template:Mvar notation]]. This has been improved to

π(x)=li(x)+O(xexp(A(logx)35(loglogx)15)) where A=0.2098.[18]

In 2016, Timothy Trudgian proved an explicit upper bound for the difference between π(x) and li(x):

|π(x)li(x)|0.2795x(logx)3/4exp(logx6.455)

for x229.[19]

The connection between the Riemann zeta function and π(x)Script error: No such module "Check for unknown parameters". is one reason the Riemann hypothesis has considerable importance in number theory: if established, it would yield a far better estimate of the error involved in the prime number theorem than is available today. More specifically, Helge von Koch showed in 1901[20] that if the Riemann hypothesis is true, the error term in the above relation can be improved to

π(x)=Li(x)+O(xlogx)

(this last estimate is in fact equivalent to the Riemann hypothesis). The constant involved in the big Template:Mvar notation was estimated in 1976 by Lowell Schoenfeld,[21] assuming the Riemann hypothesis:

|π(x)li(x)|<xlogx8π

for all x ≥ 2657Script error: No such module "Check for unknown parameters".. He also derived a similar bound for the Chebyshev prime-counting function Template:Mvar:

|ψ(x)x|<x(logx)28π

for all x ≥ 73.2Script error: No such module "Check for unknown parameters". . This latter bound has been shown to express a variance to mean power law (when regarded as a random function over the integers) and Template:Sfrac noise and to also correspond to the Tweedie compound Poisson distribution. (The Tweedie distributions represent a family of scale invariant distributions that serve as foci of convergence for a generalization of the central limit theorem.[22]) A lower bound is also derived by J. E. Littlewood, assuming the Riemann hypothesis:[23][24][25]

|π(x)li(x)|=Ω(xlogloglogxlogx)

The logarithmic integral li(x)Script error: No such module "Check for unknown parameters". is larger than π(x)Script error: No such module "Check for unknown parameters". for "small" values of Template:Mvar. This is because it is (in some sense) counting not primes, but prime powers, where a power Template:Mvar of a prime Template:Mvar is counted as Template:Sfrac of a prime. This suggests that li(x)Script error: No such module "Check for unknown parameters". should usually be larger than π(x)Script error: No such module "Check for unknown parameters". by roughly  12li(x) , and in particular should always be larger than π(x)Script error: No such module "Check for unknown parameters".. However, in 1914, Littlewood proved that  π(x)li(x)  changes sign infinitely often.[23] The first value of Template:Mvar where π(x)Script error: No such module "Check for unknown parameters". exceeds li(x)Script error: No such module "Check for unknown parameters". is probably around x ~ Template:10^ Script error: No such module "Check for unknown parameters".; see the article on Skewes' number for more details. (On the other hand, the offset logarithmic integral Li(x)Script error: No such module "Check for unknown parameters". is smaller than π(x)Script error: No such module "Check for unknown parameters". already for x = 2Script error: No such module "Check for unknown parameters".; indeed, Li(2) = 0Script error: No such module "Check for unknown parameters"., while π(2) = 1Script error: No such module "Check for unknown parameters"..)

Elementary proofs

In the first half of the twentieth century, some mathematicians (notably G. H. Hardy) believed that there exists a hierarchy of proof methods in mathematics depending on what sorts of numbers (integers, reals, complex) a proof requires, and that the prime number theorem (PNT) is a "deep" theorem by virtue of requiring complex analysis.[9] This belief was somewhat shaken by a proof of the PNT based on Wiener's tauberian theorem, though Wiener's proof ultimately relies on properties of the Riemann zeta function on the line Re(s)=1, where complex analysis must be used.

In March 1948, Atle Selberg established, by "elementary" means, the asymptotic formula

ϑ(x)log(x)+pxlog(p) ϑ(xp)=2xlog(x)+O(x)

where

ϑ(x)=pxlog(p)

for primes Template:Mvar.[11] By July of that year, Selberg and Paul Erdős[12] had each obtained elementary proofs of the PNT, both using Selberg's asymptotic formula as a starting point.[9][26] These proofs effectively laid to rest the notion that the PNT was "deep" in that sense, and showed that technically "elementary" methods were more powerful than had been believed to be the case. On the history of the elementary proofs of the PNT, including the Erdős–Selberg priority dispute, see an article by Dorian Goldfeld.[9]

There is some debate about the significance of Erdős and Selberg's result. There is no rigorous and widely accepted definition of the notion of elementary proof in number theory, so it is not clear exactly in what sense their proof is "elementary". Although it does not use complex analysis, it is in fact much more technical than the standard proof of PNT. One possible definition of an "elementary" proof is "one that can be carried out in first-order Peano arithmetic." There are number-theoretic statements (for example, the Paris–Harrington theorem) provable using second order but not first-order methods, but such theorems are rare to date. Erdős and Selberg's proof can certainly be formalized in Peano arithmetic, and in 1994, Charalambos Cornaros and Costas Dimitracopoulos proved that their proof can be formalized in a very weak fragment of PA, namely IΔ0 + expScript error: No such module "Check for unknown parameters"..[27] However, this does not address the question of whether or not the standard proof of PNT can be formalized in PA.

A more recent "elementary" proof of the prime number theorem uses ergodic theory, due to Florian Richter.[28] The prime number theorem is obtained there in an equivalent form that the Cesàro sum of the values of the Liouville function is zero. The Liouville function is (1)ω(n) where ω(n) is the number of prime factors, with multiplicity, of the integer n. Bergelson and Richter (2022) then obtain this form of the prime number theorem from an ergodic theorem which they prove:

Let X be a compact metric space, T a continuous self-map of X, and μ a T-invariant Borel probability measure for which T is uniquely ergodic. Then, for every fC(X),

1Nn=1Nf(Tω(n)x)Xfdμ,xX.

This ergodic theorem can also be used to give "soft" proofs of results related to the prime number theorem, such as the Pillai–Selberg theorem and Erdős–Delange theorem.

Computer verifications

In 2005, Avigad et al. employed the Isabelle theorem prover to devise a computer-verified variant of the Erdős–Selberg proof of the PNT.[29] This was the first machine-verified proof of the PNT. Avigad chose to formalize the Erdős–Selberg proof rather than an analytic one because while Isabelle's library at the time could implement the notions of limit, derivative, and transcendental function, it had almost no theory of integration to speak of.[29]Template:Rp

In 2009, John Harrison employed HOL Light to formalize a proof employing complex analysis.[30] By developing the necessary analytic machinery, including the Cauchy integral formula, Harrison was able to formalize "a direct, modern and elegant proof instead of the more involved 'elementary' Erdős–Selberg argument".

Prime number theorem for arithmetic progressions

Let πd,a(x)Script error: No such module "Check for unknown parameters". denote the number of primes in the arithmetic progression a, a + d, a + 2d, a + 3d, ...Script error: No such module "Check for unknown parameters". that are less than Template:Mvar. Dirichlet and Legendre conjectured, and de la Vallée Poussin proved, that if Template:Mvar and Template:Mvar are coprime, then

πd,a(x)Li(x)φ(d) ,

where Template:Mvar is Euler's totient function. In other words, the primes are distributed evenly among the residue classes [a]Script error: No such module "Check for unknown parameters". modulo Template:Mvar with gcd(a, d) = 1Script error: No such module "Check for unknown parameters". . This is stronger than Dirichlet's theorem on arithmetic progressions (which only states that there is an infinity of primes in each class) and can be proved using similar methods used by Newman for his proof of the prime number theorem.[31]

The Siegel–Walfisz theorem gives a good estimate for the distribution of primes in residue classes.

Bennett et al.[32] proved the following estimate that has explicit constants Template:Mvar and Template:Mvar (Theorem 1.3): Let Template:Mvar 3 be an integer and let Template:Mvar be an integer that is coprime to Template:Mvar. Then there are positive constants Template:Mvar and Template:Mvar such that

|πd,a(x) Li(x)  φ(d) |<A x (logx)2  for all xB ,

where

A=1 840  if 3d104 and A=1 160  if d>104,

and

B=8109 if 3d105 and B=exp( 0.03 d  (logd)3 ) if d>105 .

Prime number race

File:Chebyshev bias.svg
Plot of the function  π(x;4,3)π(x;4,1)  for nScript error: No such module "val".Script error: No such module "Check for unknown parameters".

Although we have in particular

π4,1(x)π4,3(x) ,

empirically the primes congruent to 3 are more numerous and are nearly always ahead in this "prime number race"; the first reversal occurs at x = 26861Script error: No such module "Check for unknown parameters"..[33]Template:Rp However Littlewood showed in 1914[33]Template:Rp that there are infinitely many sign changes for the function

π4,1(x)π4,3(x),

so the lead in the race switches back and forth infinitely many times. The phenomenon that π4,3(x)Script error: No such module "Check for unknown parameters". is ahead most of the time is called Chebyshev's bias. The prime number race generalizes to other moduli and is the subject of much research; Pál Turán asked whether it is always the case that πc,a(x)Script error: No such module "Check for unknown parameters". and πc,b(x)Script error: No such module "Check for unknown parameters". change places when Template:Mvar and Template:Mvar are coprime to Template:Mvar.[34] Granville and Martin give a thorough exposition and survey.[33]

File:Prime race of last digit up to 10000.png
Graph of the number of primes ending in 1, 3, 7, and 9 up to nScript error: No such module "Check for unknown parameters". for n < Script error: No such module "val".Script error: No such module "Check for unknown parameters".

Another example is the distribution of the last digit of prime numbers. Except for 2 and 5, all prime numbers end in 1, 3, 7, or 9. Dirichlet's theorem states that asymptotically, 25% of all primes end in each of these four digits. However, empirical evidence shows that, for a given limit, there tend to be slightly more primes that end in 3 or 7 than end in 1 or 9 (a generation of the Chebyshev's bias).[35] This follows that 1 and 9 are quadratic residues modulo 10, and 3 and 7 are quadratic nonresidues modulo 10.

Non-asymptotic bounds on the prime-counting function

Script error: No such module "Labelled list hatnote". The prime number theorem is an asymptotic result. It gives an ineffective bound on π(x)Script error: No such module "Check for unknown parameters". as a direct consequence of the definition of the limit: for all ε > 0Script error: No such module "Check for unknown parameters"., there is an Template:Mvar such that for all x > SScript error: No such module "Check for unknown parameters".,

(1ε)xlogx<π(x)<(1+ε)xlogx.

However, better bounds on π(x)Script error: No such module "Check for unknown parameters". are known, for instance Pierre Dusart's

xlogx(1+1logx)<π(x)<xlogx(1+1logx+2.51(logx)2).

The first inequality holds for all x ≥ 599Script error: No such module "Check for unknown parameters". and the second one for x ≥ 355991Script error: No such module "Check for unknown parameters"..[36]

The proof by de la Vallée Poussin implies the following bound: For every ε > 0Script error: No such module "Check for unknown parameters"., there is an Template:Mvar such that for all x > SScript error: No such module "Check for unknown parameters".,

xlogx(1ε)<π(x)<xlogx(1+ε).

The value ε = 3Script error: No such module "Check for unknown parameters". gives a weak but sometimes useful bound for x ≥ 55Script error: No such module "Check for unknown parameters".:[37]

xlogx+2<π(x)<xlogx4.

In Pierre Dusart's thesis there are stronger versions of this type of inequality that are valid for larger Template:Mvar. Later in 2010, Dusart proved:[38]

xlogx1<π(x) for x5393, and π(x)<xlogx1.1 for x60184.

Note that the first of these obsoletes the ε > 0Script error: No such module "Check for unknown parameters". condition on the lower bound.

Approximations for the nth prime number

As a consequence of the prime number theorem, one gets an asymptotic expression for the Template:Mvarth prime number, denoted by pnScript error: No such module "Check for unknown parameters".:

pnnlogn.[39]

A better approximation is by Cesàro (1894):[40]

pn=nB2(logn), where
B2(x)=x+logx1+logx2x(logx)26logx+112x2+o(1x2).

Again considering the Script error: No such module "val".th prime number Script error: No such module "val"., assuming the trailing error term is zero gives an estimate of Script error: No such module "val".; the first 5 digits match and relative error is about 0.46 parts per million.

Cipolla (1902)[41][42] showed that these are the leading terms of an infinite series which may be truncated at arbitrary degree, with

Bk(x)=x+logx1i=1k(1)iPi(logx)ixi+O((logx)k+1xk+1),

where each PiScript error: No such module "Check for unknown parameters". is a degree-Template:Mvar monic polynomial. (P1(y) = y − 2Script error: No such module "Check for unknown parameters"., P2(y) = y2 − 6y + 11Script error: No such module "Check for unknown parameters"., P3(y) = y3Template:Sfracy2 + 42y + Template:SfracScript error: No such module "Check for unknown parameters"., and so on.[42])

Rosser's theorem[37] states that

pn>nlogn.

Dusart (1999).[43] found tighter bounds using the form of the Cesàro/Cipolla approximations but varying the lowest-order constant term. Bk(x; C)Script error: No such module "Check for unknown parameters". is the same function as above, but with the lowest-order constant term replaced by a parameter Template:Mvar:

pn>nB0(logn;1)for n2, andpn<nB0(logn;0.9484)for n39017, whereB0(x;C)=x+logxC.pn>nB1(logn;2.25)for n2, andpn<nB1(logn;1.8)for n27076, whereB1(x;C)=x+logx1+logxCx.

The upper bounds can be extended to smaller Template:Mvar by loosening the parameter. For example, pn < n B1(log n; 0.5)Script error: No such module "Check for unknown parameters". for all n ≥ 20Script error: No such module "Check for unknown parameters"..[44]

Axler (2019)[44] extended this to higher order, showing:

pn>nB2(logn;11.321)for n2, and pn<nB2(logn;10.667)for n46254381, whereB2(x;C)=x+logx1+logx2x(logx)26logx+C2x2.

Again, the bound on Template:Mvar may be decreased by loosening the parameter. For example, pn < n B2(log n; 0)Script error: No such module "Check for unknown parameters". for n ≥ 3468Script error: No such module "Check for unknown parameters"..

Table of π(x), x / log x, and li(x)

The table compares exact values of π(x)Script error: No such module "Check for unknown parameters". to the two approximations x / log xScript error: No such module "Check for unknown parameters". and li(x)Script error: No such module "Check for unknown parameters".. The approximation difference columns are rounded to the nearest integer, but the "% error" columns are computed based on the unrounded approximations. The last column, x / π(x)Script error: No such module "Check for unknown parameters"., is the average prime gap below Template:Mvar.

Template:Mvar π(x)Script error: No such module "Check for unknown parameters". π(x) − Template:SfracScript error: No such module "Check for unknown parameters". li(x) − π(x)Script error: No such module "Check for unknown parameters". % error Template:SfracScript error: No such module "Check for unknown parameters".
Template:SfracScript error: No such module "Check for unknown parameters". li(x)Script error: No such module "Check for unknown parameters".
10 4 0 2 8.22% 42.606% 2.500
102 25 3 5 14.06% 18.597% 4.000
103 168 23 10 14.85% 5.561% 5.952
104 1,229 143 17 12.37% 1.384% 8.137
105 9,592 906 38 9.91% 0.393% 10.425
106 78,498 6,116 130 8.11% 0.164% 12.739
107 664,579 44,158 339 6.87% 0.051% 15.047
108 5,761,455 332,774 754 5.94% 0.013% 17.357
109 50,847,534 2,592,592 1,701 5.23% 3.34Template:E % 19.667
1010 455,052,511 20,758,029 3,104 4.66% 6.82Template:E % 21.975
1011 4,118,054,813 169,923,159 11,588 4.21% 2.81Template:E % 24.283
1012 37,607,912,018 1,416,705,193 38,263 3.83% 1.02Template:E % 26.590
1013 346,065,536,839 11,992,858,452 108,971 3.52% 3.14Template:E % 28.896
1014 Template:Zwsp 102,838,308,636 314,890 3.26% 9.82Template:E % 31.202
1015 Template:Zwsp 891,604,962,452 1,052,619 3.03% 3.52Template:E % 33.507
1016 Template:Zwsp Template:Zwsp 3,214,632 2.83% 1.15Template:E % 35.812
1017 Template:Zwsp Template:Zwsp 7,956,589 2.66% 3.03Template:E % 38.116
1018 Template:Zwsp Template:Zwsp 21,949,555 2.51% 8.87Template:E % 40.420
1019 Template:Zwsp Template:Zwsp 99,877,775 2.36% 4.26Template:E % 42.725
1020 Template:Zwsp Template:Zwsp 222,744,644 2.24% 1.01Template:E % 45.028
1021 Template:Zwsp Template:Zwsp 597,394,254 2.13% 2.82Template:E % 47.332
1022 Template:Zwsp Template:Zwsp 1,932,355,208 2.03% 9.59Template:E % 49.636
1023 Template:Zwsp Template:Zwsp 7,250,186,216 1.94% 3.76Template:E % 51.939
1024 Template:Zwsp Template:Zwsp 17,146,907,278 1.86% 9.31Template:E % 54.243
1025 Template:Zwsp Template:Zwsp 55,160,980,939 1.78% 3.21Template:E % 56.546
1026 Template:Zwsp Template:Zwsp 155,891,678,121 1.71% 9.17Template:E % 58.850
1027 Template:Zwsp Template:Zwsp 508,666,658,006 1.64% 3.11Template:E % 61.153
1028 Template:Zwsp Template:Zwsp Template:Zwsp 1.58% 9.05Template:E % 63.456
1029 Template:Zwsp Template:Zwsp Template:Zwsp 1.53% 2.99Template:E % 65.759

The value for π(1024)Script error: No such module "Check for unknown parameters". was originally computed assuming the Riemann hypothesis;[45] it has since been verified unconditionally.[46]

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)Script error: No such module "Check for unknown parameters". be the finite field with Template:Mvar elements, for some fixed Template:Mvar, and let Template:Mvar be the number of monic irreducible polynomials over Template:Mvar whose degree is equal to Template:Mvar. That is, we are looking at polynomials with coefficients chosen from Template:Mvar, 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

Nnqnn.

If we make the substitution x = qnScript error: No such module "Check for unknown parameters"., then the right hand side is just

xlogqx,

which makes the analogy clearer. Since there are precisely qnScript error: No such module "Check for unknown parameters". monic polynomials of degree Template:Mvar (including the reducible ones), this can be rephrased as follows: if a monic polynomial of degree Template:Mvar is selected randomly, then the probability of it being irreducible is about Template:SfracScript error: No such module "Check for unknown parameters"..

One can even prove an analogue of the Riemann hypothesis, namely that

Nn=qnn+O(qn2n).

The proofs of these statements are far simpler than in the classical case. It involves a short, combinatorial argument,[47] summarised as follows: every element of the degree Template:Mvar extension of Template:Mvar is a root of some irreducible polynomial whose degree Template:Mvar divides Template:Mvar; by counting these roots in two different ways one establishes that

qn=dndNd,

where the sum is over all divisors Template:Mvar of Template:Mvar. Möbius inversion then yields

Nn=1ndnμ(nd)qd,

where μ(k)Script error: No such module "Check for unknown parameters". is the Möbius function. (This formula was known to Gauss.) The main term occurs for d = nScript error: No such module "Check for unknown parameters"., and it is not difficult to bound the remaining terms. The "Riemann hypothesis" statement depends on the fact that the largest proper divisor of Template:Mvar can be no larger than Template:SfracScript error: No such module "Check for unknown parameters"..

See also

Citations

<templatestyles src="Reflist/styles.css" />

  1. a b Script error: No such module "citation/CS1".
  2. a b Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".
  6. Script error: No such module "citation/CS1"..
  7. Script error: No such module "Citation/CS1".
  8. Script error: No such module "Citation/CS1".
  9. a b c d Script error: No such module "citation/CS1".
  10. Script error: No such module "citation/CS1".
  11. a b Script error: No such module "citation/CS1".
  12. a b Script error: No such module "Citation/CS1".
  13. Script error: No such module "Citation/CS1".
  14. a b Script error: No such module "Citation/CS1".
  15. Script error: No such module "citation/CS1".
  16. Script error: No such module "citation/CS1".
  17. Script error: No such module "citation/CS1".
  18. Script error: No such module "Citation/CS1".
  19. Script error: No such module "Citation/CS1".
  20. Script error: No such module "Citation/CS1".
  21. Script error: No such module "Citation/CS1".
  22. Script error: No such module "Citation/CS1".
  23. a b Script error: No such module "citation/CS1".
  24. Script error: No such module "Citation/CS1".
  25. Script error: No such module "citation/CS1".
  26. Script error: No such module "Citation/CS1".
  27. Script error: No such module "Citation/CS1".
  28. Bergelson, V., & Richter, F. K. (2022). Dynamical generalizations of the prime number theorem and disjointness of additive and multiplicative semigroup actions. Duke Mathematical Journal, 171(15), 3133-3200.
  29. a b Script error: No such module "Citation/CS1".
  30. Script error: No such module "Citation/CS1".
  31. Script error: No such module "citation/CS1".
  32. Script error: No such module "Citation/CS1".
  33. a b c Script error: No such module "Citation/CS1".
  34. Script error: No such module "citation/CS1". This book uses the notation π(x;a,c)Script error: No such module "Check for unknown parameters". where this article uses πc,a(x)Script error: No such module "Check for unknown parameters". for the number of primes congruent to Template:Mvar modulo Template:Mvar.
  35. Script error: No such module "Citation/CS1".
  36. Template:Cite thesis
  37. a b Script error: No such module "Citation/CS1".
  38. Script error: No such module "citation/CS1".
  39. Script error: No such module "citation/CS1".
  40. Script error: No such module "Citation/CS1".
  41. Script error: No such module "Citation/CS1".
  42. a b Script error: No such module "Citation/CS1".
  43. Script error: No such module "Citation/CS1".
  44. a b Script error: No such module "Citation/CS1".
  45. Script error: No such module "citation/CS1".
  46. Script error: No such module "Citation/CS1".
  47. Script error: No such module "Citation/CS1".

Script error: No such module "Check for unknown parameters".

References

  • Script error: No such module "Citation/CS1".
  • Script error: No such module "Citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

External links