The discussion explains why the error between the actual prime-counting staircase and its asymptotic approximations matters, not just the fact that their ratio approaches one. Near a trillion, the average prime density is about one per 28 integers, but knowing the average does not guarantee a prime exists in any particular stretch of that length, a gap with practical stakes for finding large primes in cryptography. A graph of the ratio of the true count to the approximation shows the percent error shrinking toward zero as numbers grow larger, even though the absolute gap keeps widening. This unresolved error term is presented as the motivation for Riemann extending Euler's zeta function into the complex plane to get a more exact and rigorous handle on prime distribution.
- 01
The percent-error graph is defined so that values above the y-axis mean the approximation undershoots the true prime count, while values below one mean it overshoots.
- 02
Euler's original zeta function only sums reciprocal powers of integers, which the discussion frames as too limited to pin down the exact error term.
- 03
Knowing the precise error would let someone take an approximation like the integral of 1/ln(t) and add or subtract the error to recover the exact staircase.
856 words · auto-generated from the episode video
32:56And that's actually what we're going to talk about next. Okay. Is we've got these asymptotic bounds now. Now what that means is the ratio between these two, as I go for larger and larger, and gets closer and closer to one. Meaning they're going to be about the same. But obviously there are errors, right? Should we care about the errors? Yes. Mathematicians always say yes. And there's a good reason why we should, okay? Now, what we've established here is that near a large number x, the average density of primes is about 1 over ln of x. So that means near a trillion, there's roughly 1 prime every 28 integers, right?
33:39but an average leaves open a very different question which is if I were to pick a stretch in the number line that's somewhat far out like let's say near a trillion and I were to pick a stretch that is 28 integers long let's say a million a trillion to a trillion 28 um can I guarantee that there's a prime in that stretch that's a different thing that's a very different question right yeah that has to do with the errors right in this prime counting versus our asymptotic bounds. An error bound, if we have good sense of what the errors are, that can actually tell us how big of a stretch we need at what point to guarantee that there's a prime. For practical purposes, this is very good because this can tell us where
34:23to look for large primes if we're trying to do cryptography and stuff. But just from a fundamental mathematics perspective, this is a very important problem because it again tells us the distribution of prime numbers and prime numbers make up all the numbers. so if you're interested in just learning the truth about numbers this is a very central problem here what we're looking at is the error between the prime number counting function which is that blue staircase that we saw earlier and the two bounds that we had which so the gap the gap yes if I were to divide the blue staircase divided by the dotted lines what I get is something that looks like these curves okay and you can see that for larger and
35:06larger n the thing gets closer and closer to one the bigger the number the smaller the gap yeah the smaller the relative gap I should say because like still like the gap is going to get big but the size of the function itself is so big yeah the the y-axis here is a percent error okay like 1 .1 in this case is like 10 under shooting actually above the y-axis means that I'm undershooting because the prime counting function is in the top and the the approximator is on the bottom. 0.9 means that I'm 10% overshooting the bound, but it's a percentile error. And you can see that the percentile error goes to zero because
35:47the estimate is getting so big. But still, we want to figure out what that error is, because if we do figure out what that error is, then we can take any of these explicit expressions for the bound. Like, let's say we we take the integral one over LNT. Yep. If we know what the error is, then I can just take the bound, add or subtract the error, and I'll get the staircase. Yeah, I see. I see. You see? Yeah, yeah, yeah, yeah. Now Riemann realized that if we wanted to do this, one could use complex analysis to extend Euler's zeta function into the complex plane.
36:29This is the magic that we are going to get into now. And this is why the zeta function is called the Riemann zeta function. And maybe to say, just to say it a different way, we're trying to get from those bounds to the prime number line and doing so where that percent error is either as small as possible or zero. Yeah, yeah. Is there a way to get straight up the relationship of the staircase? like can I just can you just tell me what the staircase looks like we're close but can I get yeah exact yeah can I just straight up like give me the staircase right or is there a procedure for me to get the staircase okay
37:12Riemann's after that okay he's also after um a more rigorous proof of the prime number theorem that we had kind of hand waved with the Oh, like the probability that it's a half. Infinity and adding all that. Yeah, all of that stuff that was super hand-wavy, mathematicians don't like that, right? And so he also wanted a much more rigorous proof of that. And he noticed that, okay, Euler has already established this relationship between the zeta function and the prime numbers. But the zeta function of Euler is quite limited because he's worried about one divided by integers to some number power, right?
37:53Like one over squares, one over cubes, one over stuff to the fourth power.
MathematicsNumber TheoryArtificial IntelligenceMathematical ThinkingFormal Verification