# Prime number theorem

Prime number theorem This article utilizes technical mathematical notation for logarithms. All instances of log(X) without a subscript base should be interpreted as a natural logarithm, commonly notated as ln(X) or loge(X).

En mathématiques, the prime number theorem (PNT) describes the asymptotic distribution of the 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 and Charles Jean de la Vallée Poussin in 1896 using ideas introduced by Bernhard Riemann (en particulier, the Riemann zeta function).

The first such distribution found is π(N) ~ N / Journal(N) , where π(N) is the prime-counting function (the number of primes less than or equal to N) et journal(N) is the natural logarithm of N. This means that for large enough N, the probability that a random integer not greater than N is prime is very close to 1 / Journal(N). Par conséquent, a random integer with at most 2n digits (for large enough n) is about half as likely to be prime as a random integer with at most n digits. Par exemple, among the positive integers of at most 1000 digits, about one in 2300 est premier (Journal(101000) ≈ 2302.6), whereas among positive integers of at most 2000 digits, about one in 4600 est premier (Journal(102000) ≈ 4605.2). Autrement dit, the average gap between consecutive prime numbers among the first N integers is roughly log(N).[1] Contenu 1 Déclaration 2 History of the proof of the asymptotic law of prime numbers 3 Esquisse d'épreuve 3.1 Non-vanishing on Re(s) = 1 4 Newman's proof of the prime number theorem 5 Prime-counting function in terms of the logarithmic integral 6 Elementary proofs 7 Computer verifications 8 Prime number theorem for arithmetic progressions 8.1 Prime number race 9 Non-asymptotic bounds on the prime-counting function 10 Approximations for the nth prime number 11 Table of π(X), X / journal x, and li(X) 12 Analogue for irreducible polynomials over a finite field 13 Voir également 14 Références 15 Sources 16 External links Statement Graph showing ratio of the prime-counting function π(X) to two of its approximations, X / log x and Li(X). As x increases (note x axis is logarithmic), both ratios tend towards 1. The ratio for x / log x converges from above very slowly, while the ratio for Li(X) converges more quickly from below. Log-log plot showing absolute error of x / log x and Li(X), two approximations to the prime-counting function π(X). Unlike the ratio, the difference between π(X) et x / log x increases without bound as x increases. D'autre part, Li(X) − π(X) switches sign infinitely many times.

Let π(X) be the prime-counting function defined to be the number of primes less than or equal to x, for any real number x. Par exemple, Pi(10) = 4 because there are four prime numbers (2, 3, 5 et 7) less than or equal to 10. The prime number theorem then states that x / log x is a good approximation to π(X) (where log here means the natural logarithm), in the sense that the limit of the quotient of the two functions π(X) et x / log x as x increases without bound is 1: {style d'affichage lim _{xto infty }{frac {;pi (X);}{;la gauche[{frac {X}{Journal(X)}}droit];}}=1,} known as the asymptotic law of distribution of prime numbers. Using asymptotic notation this result can be restated as {style d'affichage pi (X)sim {frac {X}{journal x}}.} This notation (and the theorem) does not say anything about the limit of the difference of the two functions as x increases without bound. À la place, the theorem states that x / log x approximates π(X) in the sense that the relative error of this approximation approaches 0 as x increases without bound.

The prime number theorem is equivalent to the statement that the nth prime number pn satisfies {style d'affichage p_{n}sim nlog(n),} the asymptotic notation meaning, encore, that the relative error of this approximation approaches 0 as n increases without bound. Par exemple, the 2×1017th prime number is 8512677386048191063,[2] et (2×1017)Journal(2×1017) rounds to 7967418752291744388, a relative error of about 6.4%.

D'autre part, the following asymptotic relations are logically equivalent[3] {style d'affichage {commencer{aligné}lim _{xrightarrow infty }{frac {pi (X)journal x}{X}}=&1,\lim _{xrightarrow infty }{frac {pi (X)log pi (X)}{X}}=&1.end{aligné}}} As outlined below, the prime number theorem is also equivalent to {style d'affichage lim _{xto infty }{frac {vartheta (X)}{X}}=lim _{xto infty }{frac {psi (X)}{X}}=1,} where ϑ and ψ are the first and the second Chebyshev functions respectively, et à {style d'affichage lim _{xto infty }{frac {M(X)}{X}}=0,} [4] où {style d'affichage M(X)=somme _{nleq x}dans (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 ou 1798 that π(un) is approximated by the function a / (A log a + B), where A and B are unspecified constants. In the second edition of his book on number theory (1808) he then made a more precise conjecture, with A = 1 and B = −1.08366. Carl Friedrich Gauss considered the same question at age 15 ou 16 "in the year 1792 ou 1793", according to his own recollection in 1849.[5] Dans 1838 Peter Gustav Lejeune Dirichlet came up with his own approximating function, the logarithmic integral li(X) (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) et x / Journal(X) 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 et 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), for real values of the argument "s", 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, à savoir, that if the limit as x goes to infinity of π(X) / (X / Journal(X)) existe du tout, then it is necessarily equal to one.[6] He was able to prove unconditionally that this ratio is bounded above and below by two explicitly given constants near 1, for all sufficiently large x.[7] Although Chebyshev's paper did not prove the Prime Number Theorem, his estimates for π(X) were strong enough for him to prove Bertrand's postulate that there exists a prime number between n and 2n for any integer n ≥ 2.

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. En particulier, it is in this paper that the idea to apply methods of complex analysis to the study of the real function π(X) originates. Extending Riemann's ideas, two proofs of the asymptotic law of the distribution of prime numbers were found independently by Jacques Hadamard and Charles Jean de la Vallée Poussin 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) is nonzero for all complex values of the variable s that have the form s = 1 + it with t > 0.[8] 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 and Paul Erdős (1949). 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.[9][10] Newman's proof is arguably the simplest known proof of the theorem, although it is non-elementary in the sense that 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.[11] 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), Défini par {style d'affichage psi (X)=!!!!somme _{empiler {p^{k}leq x,}{p{texte{ est premier}}}}!!!!journal p;.} This is sometimes written as {style d'affichage psi (X)=somme _{nleq x}Lambda (n);,} where Λ(n) is the von Mangoldt function, à savoir {style d'affichage Lambda (n)={commencer{cas}log p&{texte{ si }}n=p^{k}{texte{ for some prime }}p{texte{ and integer }}kgeq 1,\0&{texte{otherwise.}}fin{cas}}} It is now relatively easy to check that the PNT is equivalent to the claim that {style d'affichage lim _{xto infty }{frac {psi (X)}{X}}=1;.} En effet, this follows from the easy estimates {style d'affichage psi (X)=somme _{empiler {pleq x}{p{texte{ est premier}}}}log pleftlfloor {frac {journal x}{journal p}}rightrfloor leq sum _{empiler {pleq x}{p{texte{ est premier}}}}log x=pi (X)journal x} et (using big O notation) for any ε > 0, {style d'affichage psi (X)gq !!!!somme _{empiler {x^{1-varepsilon }leq pleq x}{p{texte{ est premier}}}}!!!!log pgeq !!!!somme _{empiler {x^{1-varepsilon }leq pleq x}{p{texte{ est premier}}}}!!!!(1-varepsilon )log x=(1-varepsilon )la gauche(pi (X)+Oleft(x^{1-varepsilon }droit)droit)journal x;.} The next step is to find a useful representation for ψ(X). Let ζ(s) be the Riemann zeta function. It can be shown that ζ(s) is related to the von Mangoldt function Λ(n), and hence to ψ(X), via the relation {style d'affichage -{frac {zeta '(s)}{zêta (s)}}=somme _{n=1}^{infime }Lambda (n),n^{-s};.} 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 x the equation {style d'affichage psi (X)=x;-;Journal(2pi );-sum limits _{Rho :,zêta (Rho )=0}{frac {x^{Rho }}{Rho }}} détient, 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 x (claimed to be the correct asymptotic order of ψ(X)) 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: {somme de style d'affichage _{n=1}^{infime }{frac {1}{2n,x^{2n}}}=-{frac {1}{2}}bûche à gauche(1-{frac {1}{x^{2}}}droit),} which vanishes for a large x. The nontrivial zeros, namely those on the critical strip 0 ≤ Re(s) ≤ 1, can potentially be of an asymptotic order comparable to the main term x if Re(r) = 1, 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) is meromorphic in the half-plane Re(s) > 0, and is analytic there except for a simple pole at s = 1, and that there is a product formula {displaystyle zeta (s)=produit _{p}{frac {1}{1-p^{-s}}}} for Re(s) > 1. This product formula follows from the existence of unique prime factorization of integers, and shows that ζ(s) is never zero in this region, so that its logarithm is defined there and {displaystyle log zeta (s)=-sum _{p}bûche à gauche(1-p^{-s}droit)=somme _{p,n}{frac {p^{-ns}}{n}};.} Write s = x + iy ; alors {style d'affichage {gros |}zêta (x+iy){gros |}=exp gauche(somme _{n,p}{frac {cos nylog p}{np^{nx}}}droit);.} Now observe the identity {displaystyle 3+4cos phi +cos 2phi =2(1+cos phi )^{2}gq 0;,} pour que {style d'affichage à gauche|zêta (X)^{3}zêta (x+iy)^{4}zêta (x+2iy)droit|=exp gauche(somme _{n,p}{frac {3+4parce que(nylog p)+parce que(2nylog p)}{np^{nx}}}droit)gq 1} for all x > 1. Suppose now that ζ(1 + iy) = 0. Certainly y is not zero, since ζ(s) has a simple pole at s = 1. Suppose that x > 1 and let x tend to 1 from above. Depuis {displaystyle zeta (s)} has a simple pole at s = 1 and ζ(X + 2iy) stays analytic, the left hand side in the previous inequality tends to 0, une contradiction.

Pour terminer, 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) 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[12] 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. Voir [10] for the complete details.

The proof uses the same preliminaries as in the previous section except instead of the function {textstyle psi } , the Chebyshev function {textstyle quad vartheta (X)=somme _{pleq x}journal p} est utilisé, which is obtained by dropping some of the terms from the series for {textstyle psi } . It is easy to show that the PNT is equivalent to {style d'affichage lim _{xto infty }vartheta (X)/x=1} . Likewise instead of {style d'affichage -{frac {zeta '(s)}{zêta (s)}}} the function {style d'affichage Phi (s)=somme _{pleq x}journal p,,p^{-s}} est utilisé, which is obtained by dropping some terms in the series for {style d'affichage -{frac {zeta '(s)}{zêta (s)}}} . Les fonctions {style d'affichage Phi (s)} et {displaystyle -zeta '(s)/zêta (s)} differ by a function holomorphic on {displaystyle Re s=1} . Depuis, as was shown in the previous section, {displaystyle zeta (s)} has no zeroes on the line {displaystyle Re s=1} , {style d'affichage Phi (s)-{frac {1}{s-1}}} has no singularities on {displaystyle Re 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 {style d'affichage vartheta (X)/X} est délimité. This is proved using an ingenious and easy method due to Chebyshev.

Integration by parts shows how {style d'affichage vartheta (X)} et {style d'affichage Phi (s)} are related. Pour {displaystyle Re s>1} , {style d'affichage Phi (s)=int _{1}^{infime }x^{-s}dvartheta (X)=sint _{1}^{infime }vartheta (X)x^{-s-1},dx=sint _{0}^{infime }vartheta (e ^{t})e ^{-St},dt.} Newman's method proves the PNT by showing the integral {displaystyle I=int _{0}^{infime }la gauche({frac {vartheta (e ^{t})}{e ^{t}}}-1droit),dt.} converge, and therefore the integrand goes to zero as {style d'affichage à infty } , which is the PNT. En général, the convergence of the improper integral does not imply that the integrand goes to zero at infinity, since it may oscillate, but since {style d'affichage vartheta } is increasing, it is easy to show in this case.

To show the convergence of {style d'affichage I} , pour {displaystyle Re z>0} laisser {style d'affichage g_{J}(z)=int _{0}^{J}F(t)e ^{-zt},dt} et {style d'affichage g(z)=int _{0}^{infime }F(t)e ^{-zt},dt} où {style d'affichage f(t)={frac {vartheta (e ^{t})}{e ^{t}}}-1} alors {style d'affichage lim _{Tto infty }g_{J}(z)= g(z)={frac {Phi (s)}{s}}-{frac {1}{s-1}}quad quad {texte{où}}quad z=s-1} which is equal to a function holomorphic on the line {displaystyle Re z=0} .

The convergence of the integral {style d'affichage I} , and thus the PNT, is proved by showing that {style d'affichage lim _{Tto infty }g_{J}(0)= g(0)} . This involves change of order of limits since it can be written {textstyle lim _{Tto infty }lim _{zto 0}g_{J}(z)=lim _{zto 0}lim _{Tto infty }g_{J}(z)} and therefore classified as a Tauberian theorem.

La différence {style d'affichage g(0)-g_{J}(0)} is expressed using Cauchy's integral formula and then shown to be small for {style d'affichage T} large by estimating the integrand. Réparer {displaystyle R>0} et {displaystyle delta >0} tel que {style d'affichage g(z)} is holomorphic in the region where {style d'affichage |z|leq R{texte{ et }}Re zgeq -delta } , et laissez {displaystyle C} be the boundary of this region. Depuis 0 is in the interior of the region, Cauchy's integral formula gives {style d'affichage g(0)-g_{J}(0)={frac {1}{2pi je}}entier _{C}la gauche(g(z)-g_{J}(z)droit){frac {dz}{z}}={frac {1}{2pi je}}entier _{C}la gauche(g(z)-g_{J}(z)droit)F(z){frac {dz}{z}}} où {style d'affichage F(z)=e^{zT}la gauche(1+{frac {z ^{2}}{R^{2}}}droit)} is the factor introduced by Newman, which does not change the integral since {style d'affichage F} is entire and {style d'affichage F(0)=1} .

To estimate the integral, break the contour {displaystyle C} into two parts, {displaystyle C=C_{+}+C_{-}} où {displaystyle C_{+}=Ccap left{z,verte ,Re z>0right}} et {displaystyle C_{-}cap left{Re zleq 0right}} . Alors {style d'affichage g(0)-g_{J}(0)=int _{C_{+}}entier _{J}^{infime }H(t,z)dtdz-int _{C_{-}}entier _{0}^{J}H(t,z)dtdz+int _{C_{-}}g(z)F(z){frac {dz}{2pi de}}} où {style d'affichage H(t,z)=f(t)e ^{-tz}F(z)/2pi je} . Depuis {style d'affichage vartheta (X)/X} , et donc {style d'affichage f(t)} , est délimité, laisser {style d'affichage B} be an upper bound for the absolute value of {style d'affichage f(t)} . This bound together with the estimate {style d'affichage |F|leq 2exp(TRe z)|Re z|/R} pour {style d'affichage |z|=R} gives that the first integral in absolute value is {displaystyle leq B/R} . The integrand over {displaystyle C_{-}} in the second integral is entire, so by Cauchy's integral theorem, the contour {displaystyle C_{-}} can be modified to a semicircle of radius {style d'affichage 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 is {displaystyle leq B/R} . Pour terminer, letting {displaystyle Tto infty } , the third integral goes to zero since {style d'affichage e^{zT}} et donc {style d'affichage F} goes to zero on the contour. Combining the two estimates and the limit get {style d'affichage limsup _{Tto infty }|g(0)-g_{J}(0)|leq {frac {2B}{R}}.} This holds for any {style d'affichage R} alors {style d'affichage lim _{Tto infty }g_{J}(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 papier "Sur l'usage des séries infinies dans la théorie des nombres", 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) is given by the offset logarithmic integral function Li(X), Défini par {nom de l'opérateur de style d'affichage {Li} (X)=int _{2}^{X}{frac {dt}{log t}}=nomopérateur {li} (X)-nom de l'opérateur {li} (2).} En effet, this integral is strongly suggestive of the notion that the "densité" of primes around t should be 1 / log t. This function is related to the logarithm by the asymptotic expansion {nom de l'opérateur de style d'affichage {Li} (X)sim {frac {X}{journal x}}somme _{k=0}^{infime }{frac {k!}{(journal x)^{k}}}={frac {X}{journal x}}+{frac {X}{(journal x)^{2}}}+{frac {2X}{(journal x)^{3}}}+cdots } Alors, the prime number theorem can also be written as π(X) ~ Li(X). En réalité, in another paper in 1899 de la Vallée Poussin proved that {style d'affichage pi (X)=nomopérateur {Li} (X)+Oleft(xe^{-un{sqrt {journal x}}}droit)quad {texte{comme }}xto infty } for some positive constant a, where O(...) is the big O notation. This has been improved to {style d'affichage pi (X)=nomopérateur {li} (X)+Oleft(xexp à gauche(-{frac {UN(journal x)^{frac {3}{5}}}{(log log x)^{frac {1}{5}}}}droit)droit)} où {displaystyle A=0.2098} .[13] Dans 2016, Trudgian proved an explicit upper bound for the difference between {style d'affichage pi (X)} et {nom de l'opérateur de style d'affichage {li} (X)} : {style d'affichage {gros |}pi (X)-nom de l'opérateur {li} (X){gros |}leq 0.2795{frac {X}{(journal x)^{3/4}}}exp gauche(-{sqrt {frac {journal x}{6.455}}}droit)} pour {displaystyle xgeq 229} .[14] The connection between the Riemann zeta function and π(X) 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. Plus précisement, Helge von Koch showed in 1901[15] that if the Riemann hypothesis is true, the error term in the above relation can be improved to {style d'affichage pi (X)=nomopérateur {Li} (X)+Oleft({sqrt {X}}log xright)} (this last estimate is in fact equivalent to the Riemann hypothesis). The constant involved in the big O notation was estimated in 1976 by Lowell Schoenfeld:[16] assuming the Riemann hypothesis, {style d'affichage {gros |}pi (X)-nom de l'opérateur {li} (X){gros |}<{frac {{sqrt {x}}log x}{8pi }}} for all x ≥ 2657. He also derived a similar bound for the Chebyshev prime-counting function ψ: {displaystyle {big |}psi (x)-x{big |}<{frac {{sqrt {x}}(log x)^{2}}{8pi }}} for all x ≥ 73.2 . This latter bound has been shown to express a variance to mean power law (when regarded as a random function over the integers) and 1 / f 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.[17]) The logarithmic integral li(x) is larger than π(x) for "small" values of x. This is because it is (in some sense) counting not primes, but prime powers, where a power pn of a prime p is counted as 1 / n of a prime. This suggests that li(x) should usually be larger than π(x) by roughly {displaystyle {tfrac {1}{2}}operatorname {li} ({sqrt {x}}) ,} and in particular should always be larger than π(x). However, in 1914, J. E. Littlewood proved that {displaystyle pi (x)-operatorname {li} (x) } changes sign infinitely often.[18] The first value of x where π(x) exceeds li(x) is probably around x ~ 10316 ; see the article on Skewes' number for more details. (On the other hand, the offset logarithmic integral Li(x) is smaller than π(x) already for x = 2; indeed, Li(2) = 0, while π(2) = 1.) 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.[19] This belief was somewhat shaken by a proof of the PNT based on Wiener's tauberian theorem, though this could be set aside if Wiener's theorem were deemed to have a "depth" equivalent to that of complex variable methods. In March 1948, Atle Selberg established, by "elementary" means, the asymptotic formula {displaystyle vartheta (x)log(x)+sum limits _{pleq x}{log(p)} vartheta left({frac {x}{p}}right)=2xlog(x)+O(x)} where {displaystyle vartheta (x)=sum limits _{pleq x}{log(p)}} for primes p.[20] By July of that year, Selberg and Paul Erdős had each obtained elementary proofs of the PNT, both using Selberg's asymptotic formula as a starting point.[19][21] 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.[19] 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 + exp.[22] However, this does not address the question of whether or not the standard proof of PNT can be formalized in PA. 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.[23] 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.[23]: 19 In 2009, John Harrison employed HOL Light to formalize a proof employing complex analysis.[24] 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) denote the number of primes in the arithmetic progression a, a + d, a + 2d, a + 3d, ... that are less than x. Dirichlet and Legendre conjectured, and de la Vallée Poussin proved, that if a and d are coprime, then {displaystyle pi _{d,a}(x)sim {frac {operatorname {Li} (x)}{varphi (d)}} ,} where φ is Euler's totient function. In other words, the primes are distributed evenly among the residue classes [a] modulo d with gcd(a, d) = 1 . 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.[25] The Siegel–Walfisz theorem gives a good estimate for the distribution of primes in residue classes. Bennett et al. [26] proved the following estimate that has explicit constants A and B (Theorem 1.3): Let d {displaystyle geq 3} be an integer and let a be an integer that is coprime to d. Then there are positive constants A and B such that {displaystyle left|pi _{d,a}(x)-{frac { operatorname {Li} (x) }{ varphi (d) }}right|<{frac {A x}{ (log x)^{2} }}quad {text{ for all }}quad xgeq B ,} where {displaystyle A={frac {1}{ 840 }}quad {text{ if }}quad 3leq dleq 10^{4}quad {text{ and }}quad A={frac {1}{ 160 }}quad {text{ if }}quad d>10^{4}~,} et {displaystyle B=8cdot 10^{9}quad {texte{ si }}quad 3leq dleq 10^{5}quad {texte{ et }}quad B=exp( 0.03 {sqrt {ré }} (Journal {ré})^{3} )quad {texte{ si }}quad d>10^{5} .} Prime number race Plot of the function {style d'affichage pi (X;4,3)-pi (X;4,1) } for n ≤ 30000 Although we have in particular {style d'affichage pi _{4,1}(X)sim pi _{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 = 26861.[27]: 1–2 However Littlewood showed in 1914[27]: 2 that there are infinitely many sign changes for the function {style d'affichage pi _{4,1}(X)-pi _{4,3}(X)~,} so the lead in the race switches back and forth infinitely many times. The phenomenon that π4,3(X) 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 π(X;un,c) and π(X;b,c) change places when a and b are coprime to c.[28] Granville and Martin give a thorough exposition and survey.[27] Non-asymptotic bounds on the prime-counting function The prime number theorem is an asymptotic result. It gives an ineffective bound on π(X) as a direct consequence of the definition of the limit: for all ε > 0, there is an S such that for all x > S, {style d'affichage (1-varepsilon ){frac {X}{journal x}};<;pi (x);<;(1+varepsilon ){frac {x}{log x}};.} However, better bounds on π(x) are known, for instance Pierre Dusart's {displaystyle {frac {x}{log x}}left(1+{frac {1}{log x}}right);<;pi (x);<;{frac {x}{log x}}left(1+{frac {1}{log x}}+{frac {2.51}{(log x)^{2}}}right);.} The first inequality holds for all x ≥ 599 and the second one for x ≥ 355991.[29] A weaker but sometimes useful bound for x ≥ 55 is[30] {displaystyle {frac {x}{log x+2}};<;pi (x);<;{frac {x}{log x-4}};.} In Pierre Dusart's thesis there are stronger versions of this type of inequality that are valid for larger x. Later in 2010, Dusart proved:[31] {displaystyle {begin{aligned}{frac {x}{log x-1}};&<;pi (x)&&{text{ for }}xgeq 5393;,{text{ and }}\pi (x);&<;{frac {x}{log x-1.1}}&&{text{ for }}xgeq 60184;.end{aligned}}} The proof by de la Vallée Poussin implies the following: For every ε > 0, there is an S such that for all x > S, {style d'affichage {frac {X}{log x-(1-varepsilon )}};<;pi (x);<;{frac {x}{log x-(1+varepsilon )}};.} 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: {displaystyle p_{n}sim nlog n.} A better approximation is[32] {displaystyle {frac {p_{n}}{n}}=log n+log log n-1+{frac {log log n-2}{log n}}-{frac {(log log n)^{2}-6log log n+11}{2(log n)^{2}}}+oleft({frac {1}{(log n)^{2}}}right).} Again considering the 2×1017th prime number 8512677386048191063, this gives an estimate of 8512681315554715386; the first 5 digits match and relative error is about 0.00005%. Rosser's theorem states that {displaystyle p_{n}>nlog n.} This can be improved by the following pair of bounds:[30] [33] {displaystyle log n+log log n-1<{frac {p_{n}}{n}}

Si vous voulez connaître d'autres articles similaires à **Prime number theorem** vous pouvez visiter la catégorie **Logarithms**.

Laisser un commentaire