It's generally easy to think about difficult theorems on prime numbers in terms of non-rigorous heuristics. Relatively simple statements, such as the twin prime conjecture, Dirichlet's Theorem, and the Prime Number Theorem, turn out to be very hard to prove. Really hard to prove, that is. The first is still a conjecture, as the name implies, while we still don't exactly know the error term on the third (the Riemann Hypothesis, if true, will tell us what it is). The unifying theme behind them is that they all have relatively simple arguments in their favor.
Here, I'll focus on a non-rigorous justification of the prime number theorem. Take the function to represent the number of prime numbers below . For example, . The prime number theorem tells us that, asymptotically, the prime-counting function behaves as.
To "prove" this, let's start with the oldest algorithm for finding prime numbers: the Sieve of Eratosthenes. We start with the number and "cross out" all of its multiples, which leaves of all numbers marked and half of them unmarked. From those remaining non-multiples, we move to the next number ( in this case) and do the same, leaving of the remaining numbers unmarked. We move on to , leaving numbers unmarked, et cetera.
Here's an animation of the sieve in action.
These unmarked numbers are all potential primes. As the sieve continues, it will continue finding new primes while narrowing down the candidates for potential primes. Intuitively, this also means that the density of primes decreases at high values of . Up to a number , the fraction of unmarked numbers along the entire set of integers is
There are two important observations to make here: The first is that this product converges to as , which means that prime numbers have zero density with respect to integers. This makes sense, since the sieve can only take away prime candidates. Thus, the density of prime numbers can only decrease. In other words, when .
Second, you can cut off the number line above to give the local density of primes. This means that
Since this goes to , its asymptotic behavior doesn't seem that exciting, but we can look at how exactly it approaches by seeing how its reciprocal diverges. We have
Using the taylor series for , we can turn this into
Where is the set of all integers with prime factors less than . This sum itself is difficult to evaluate, so this is where we need to turn to hand-waviness. We can split the sum up into two parts
Where the last term was ignored because it's more or less smaller than the former. Thankfully, we at least know how to evaluate this sum. Note that this sum is essentially a Riemann integral of , so its asymptotic behavior is essentially its antiderivative, or .
Thus, we have:
Rearranging stuff gives us the answer that we were after:
The density observed earlier thus falls off asymptotically as:
To me, this is a pretty natural argument in favor of the prime number theorem. While it requires a lot of work from complex analysis to prove rigorously, this is still the most intuitive approach to me.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
WOW!!!! This is pretty great!!!!! I mean, a great way to approach the proof in a not so rigorous way, but still get a fairly good idea about it!!!! :) Also, a small typo, it should be Sieve of "Eratosthenes"........
Log in to reply
I could never spell his name right for some reason :p and thanks! Heuristic arguments like this are probably my favorite parts of mathematics.