Prime number theorem
Adapted from Wikipedia Β· Adventurer experience
The prime number theorem (PNT) helps us understand how prime numbers are spread out among all the whole numbers. It tells us that as numbers get bigger, prime numbers become rarer.
This idea was proven in 1896 by two mathematicians, Jacques Hadamard and Charles Jean de la VallΓ©e Poussin, using work started by Bernhard Riemann.
The theorem says that for very large numbers, the chance that a random number is prime is about one divided by the natural logarithm of that number. This means the space between prime numbers grows slowly as numbers get bigger.
Statement
Imagine you are counting how many prime numbers there are up to a certain number. For example, up to the number 10, there are 4 prime numbers: 2, 3, 5, and 7.
The prime number theorem tells us that as numbers get really big, the number of primes up to that point can be estimated by dividing the number by its natural logarithm.
This means that for very large numbers, the number of primes is roughly the number itself divided by how many times you need to multiply it by e (about 2.718) to reach it. The theorem was proven in 1896 by two mathematicians, using ideas from another mathematician about a special math function.
History of the proof of the asymptotic law of prime numbers
People have always been curious about how often prime numbers appear as numbers get larger. In the late 1700s, mathematicians like Adrien-Marie Legendre and Carl Friedrich Gauss made guesses about counting primes. In the 1800s, Pafnuty Chebyshev took important steps to prove these guesses, showing that primes appear fairly regularly.
Finally, in 1896, Jacques Hadamard and Charles Jean de la VallΓ©e Poussin proved the Prime Number Theorem together. They showed that primes become less common as numbers grow bigger, and they found exactly how much less common. Their work used ideas from another famous mathematician, Bernhard Riemann, who linked primes to complex numbers. Since then, many other mathematicians have found new ways to prove this important theorem.
Proof sketch
Here is a simple idea behind why primes get rarer as numbers grow bigger. We start by counting primes in a special way, using a tool called the Chebyshev function, written as Ο(x). This function helps us see patterns more clearly.
The big idea is that if we look at Ο(x) compared to x, we find they grow in the same way. This means the number of primes up to x grows roughly like x divided by log x, which is the main point of the prime number theorem.
To understand Ο(x), we use another important math tool called the Riemann zeta function. By studying its patterns, we can show that Ο(x) behaves nicely, and this helps prove the theorem.
Newman's proof of the prime number theorem
D.J. Newman found a simple way to prove the prime number theorem. His proof uses ideas from complex numbers, such as Cauchy's integral formula and Cauchy's integral theorem, but it stays close to basic math.
The proof looks at a special math idea called the Chebyshev function Ο(x). By studying this function, Newman showed that certain math parts fit together to prove the prime number theorem. This helps us understand how prime numbers are spread out among all whole numbers.
Prime-counting function in terms of the logarithmic integral
In 1838, a mathematician named Dirichlet suggested a better way to guess how many prime numbers there are up to a certain number. He used a special math tool called the offset logarithmic integral, written as Li(x).
This idea connects to how often primes appear. It suggests that the "density" of primes around a number t is about 1 divided by the logarithm of t.
Later, in 1899, another mathematician showed that the prime number theorem could also be expressed using this logarithmic integral. Mathematicians are still working to make these guesses even better and more exact.
Elementary proofs
In the middle of the 1900s, some mathematicians thought proving the prime number theorem needed very complex math. But in 1948, Atle Selberg found a way to prove it using simpler tools. Soon after, Paul ErdΕs also found a simple proof. These proofs showed that the prime number theorem wasnβt as complex as people thought.
Later, Florian Richter used a different area of math called ergodic theory to prove the theorem in another way. These different proofs helped mathematicians understand the theorem better and showed that simple methods could be very powerful.
Computer verifications
In 2005, mathematicians used a computer tool called Isabelle to check a proof of the prime number theorem. This was the first time a computer checked this math idea.
In 2009, another mathematician used a tool called HOL Light to check the proof in a different way. He worked to make the proof clear and neat.
Prime number theorem for arithmetic progressions
This part of the prime number theorem looks at how prime numbers are spread out in special number patterns called arithmetic progressions. It says that if two numbers have no common factors other than 1, the primes will appear evenly in certain patterns.
There is something interesting called a "prime number race." For example, when looking at primes that end in certain digits, one group often has more primes than another for a while, but then they switch places many times. This back-and-forth happens infinitely often.
Non-asymptotic bounds on the prime-counting function
Main article: Prime-counting function Β§Β Inequalities
The prime number theorem helps us understand how primes are spread out among larger numbers. It is an asymptotic result, meaning it talks about what happens when numbers get really big. This theorem gives us a way to estimate how many primes there are up to a certain number, but it doesnβt give an exact count. Instead, it says that for any small number Ξ΅ greater than 0, there is a point S so that for all numbers x bigger than S, the number of primes up to x is between (1 β Ξ΅) times x divided by the natural logarithm of x and (1 + Ξ΅) times x divided by the natural logarithm of x.
Similarly, there are also bounds for how far the actual count of primes can be below this estimate. For any Ξ΅ between 0 and 1, there is a number S so that for all x bigger than S, the number of primes up to x is at least (1 β Ξ΅) times x divided by the natural logarithm of x.
Approximations for the _n_th prime number
The prime number theorem helps us guess where the _n_th prime number will be. A simple way to think about it is that the _n_th prime, written as pn, is about n times the natural logarithm of n.
Better ways to guess this use more detailed math, like the CesΓ ro method from 1894. Even very big prime numbers can be guessed pretty closely this way.
Table of Ο(x), x / log x, and li(x)
This table shows how many prime numbers there are up to a certain number, called Ο(x), and compares it to two ways of guessing this number: x / log x and li(x). The table also shows how close these guesses are to the real number of primes.
The number of primes up to 106 was first found using a special idea, but it has since been checked in other ways.
| x | Ο(x) | Ο(x) β β x/log(x)β | li(x) β Ο(x) | % error | β x/Ο(x)β | |
|---|---|---|---|---|---|---|
| β x/log(x)β | li(x) | |||||
| 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.34Γ10β3Β % | 19.667 |
| 1010 | 455,052,511 | 20,758,029 | 3,104 | 4.66% | 6.82Γ10β4Β % | 21.975 |
| 1011 | 4,118,054,813 | 169,923,159 | 11,588 | 4.21% | 2.81Γ10β4Β % | 24.283 |
| 1012 | 37,607,912,018 | 1,416,705,193 | 38,263 | 3.83% | 1.02Γ10β4Β % | 26.590 |
| 1013 | 346,065,536,839 | 11,992,858,452 | 108,971 | 3.52% | 3.14Γ10β5Β % | 28.896 |
| 1014 | 3,β204,β941,β750,β802 | 102,838,308,636 | 314,890 | 3.26% | 9.82Γ10β6Β % | 31.202 |
| 1015 | 29,β844,β570,β422,β669 | 891,604,962,452 | 1,052,619 | 3.03% | 3.52Γ10β6Β % | 33.507 |
| 1016 | 279,β238,β341,β033,β925 | 7,β804,β289,β844,β393 | 3,214,632 | 2.83% | 1.15Γ10β6Β % | 35.812 |
| 1017 | 2,β623,β557,β157,β654,β233 | 68,β883,β734,β693,β928 | 7,956,589 | 2.66% | 3.03Γ10β7Β % | 38.116 |
| 1018 | 24,β739,β954,β287,β740,β860 | 612,β483,β070,β893,β536 | 21,949,555 | 2.51% | 8.87Γ10β8Β % | 40.420 |
| 1019 | 234,β057,β667,β276,β344,β607 | 5,β481,β624,β169,β369,β961 | 99,877,775 | 2.36% | 4.26Γ10β8Β % | 42.725 |
| 1020 | 2,β220,β819,β602,β560,β918,β840 | 49,β347,β193,β044,β659,β702 | 222,744,644 | 2.24% | 1.01Γ10β8Β % | 45.028 |
| 1021 | 21,β127,β269,β486,β018,β731,β928 | 446,β579,β871,β578,β168,β707 | 597,394,254 | 2.13% | 2.82Γ10β9Β % | 47.332 |
| 1022 | 201,β467,β286,β689,β315,β906,β290 | 4,β060,β704,β006,β019,β620,β994 | 1,932,355,208 | 2.03% | 9.59Γ10β10Β % | 49.636 |
| 1023 | 1,β925,β320,β391,β606,β803,β968,β923 | 37,β083,β513,β766,β578,β631,β309 | 7,250,186,216 | 1.94% | 3.76Γ10β10Β % | 51.939 |
| 1024 | 18,β435,β599,β767,β349,β200,β867,β866 | 339,β996,β354,β713,β708,β049,β069 | 17,146,907,278 | 1.86% | 9.31Γ10β11Β % | 54.243 |
| 1025 | 176,β846,β309,β399,β143,β769,β411,β680 | 3,β128,β516,β637,β843,β038,β351,β228 | 55,160,980,939 | 1.78% | 3.21Γ10β11Β % | 56.546 |
| 1026 | 1,β699,β246,β750,β872,β437,β141,β327,β603 | 28,β883,β358,β936,β853,β188,β823,β261 | 155,891,678,121 | 1.71% | 9.17Γ10β12Β % | 58.850 |
| 1027 | 16,β352,β460,β426,β841,β680,β446,β427,β399 | 267,β479,β615,β610,β131,β274,β163,β365 | 508,666,658,006 | 1.64% | 3.11Γ10β12Β % | 61.153 |
| 1028 | 157,β589,β269,β275,β973,β410,β412,β739,β598 | 2,β484,β097,β167,β669,β186,β251,β622,β127 | 1,β427,β745,β660,β374 | 1.58% | 9.05Γ10β13Β % | 63.456 |
| 1029 | 1,β520,β698,β109,β714,β272,β166,β094,β258,β063 | 23,β130,β930,β737,β541,β725,β917,β951,β446 | 4,β551,β193,β622,β464 | 1.53% | 2.99Γ10β13Β % | 65.759 |
Analogue for irreducible polynomials over a finite field
There is a version of the prime number theorem that talks about special kinds of equations called "irreducible polynomials" over a finite field. These polynomials act like prime numbers because all other polynomials can be built from them.
When we count these special polynomials of a certain size, we find that their number relates to the size in a clear way. This helps us understand how common or rare these polynomials are, just like the prime number theorem helps us understand prime numbers.
Related articles
This article is a child-friendly adaptation of the Wikipedia article on Prime number theorem, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.
Safekipedia