We're 99.9% sure this pattern is true, but no one can prove it

We're 99.9% sure this pattern is true, but no one can prove it

Veritasium

0:00 [Derek] On the morning of the 17th of April,

0:02 2013, the journal Annals of Mathematics received a curious email.

0:06 It claimed to contain a 50 page proof relating

0:08 to one of the oldest unsolved problems in mathematics.

0:12 A problem that great mathematician Edmund Landau called unattackable.

0:18 But this proof didn't come from a famous professor, it came from an unknown.

0:23 (bright music) Someone who had once spent years working at a subway restaurant.

0:29 So, they're like, okay, surely this isn't gonna work out, but whatever.

0:32 You know, we'll send it to a referee.

0:34 [Derek] They expected to find a mistake in an afternoon, but they didn't.

0:39 So, they went through it again, closely studying the fragile parts where a proof

0:43 like this normally falls apart, but still nothing.

0:47 Soon they realized they were witnessing a breakthrough.

0:50 Oh, damn, he did it.

0:52 So, how did he do It?

0:54 What did the experts miss and what was the problem he was working on?

0:58 He was working on a new way to attack

1:00 one of the hardest unsolved problems in number theory,

1:03 the twin prime conjecture.

1:06 The twin primes are prime numbers separated by just one number,

1:10 like 11 and 13 or 17 and 19.

1:13 As you go up, the number line,

1:15 primes become rarer and twin primes become rarer still.

1:18 But the twin prime conjecture claims that there

1:21 are infinitely many of them you never run out.

1:25 But is it true?

1:26 Well, one way to approach this problem is to look

1:29 at the gaps between consecutive primes as you go up the number line.

1:33 (bright music) Now, at first they seem chaotic,

1:36 but if you average them out, a clear trend emerges.

1:41 The average gap between two primes grows roughly

1:43 as the natural logarithm of the number N.

1:47 So, for example, the average gap between primes around 100,

1:51 is approximately 4.6.

1:53 The average gap between primes around 1000 is 6.9.

1:57 Logarithms grow very slowly, but they do keep growing forever.

2:01 So, as N approaches infinity,

2:03 the average gap between primes also goes to infinity,

2:07 which is not particularly encouraging if you expect to always

2:11 be able to find primes that are just two apart.

2:15 But if you start checking large numbers,

2:17 then after a million you quickly find the twin primes, 1,000,037 and 1,000,039.

2:24 Past a billion, there's 1,000,000,007 and 1,000,000,009.

2:28 In fact, we have found a twin prime that's as large

2:31 as 2,996,863,034,895 times two to the power of 1,290,000 plus or minus one.

2:44 That is a pair of numbers each 388,342 digits long.

2:51 If you wanted to print those in a book for some reason,

2:54 you would need around 260 pages per number.

2:59 All of this is to say that as far as we've looked,

3:02 we've kept finding twin primes.

3:04 But of course, that is not how you solve the twin prime conjecture,

3:07 because you cannot physically check all the numbers out to infinity.

3:11 So, we need another way.

3:13 And around 100 years ago,

3:15 it felt like mathematicians were getting close with a more sophisticated method.

3:20 In 1923, English mathematicians, Hardy and Littlewood figured out how you can

3:24 estimate how many twin primes there should be.

3:27 To do it, they started with one of the crowning achievements of number theory,

3:30 the prime number theorem, which tells you that the odds of a large number near

3:35 N being prime are roughly one over the natural logarithm of N.

3:39 So, let's do a quick example to see how they use this.

3:43 Say you wanna find the odds that 137,037 is prime.

3:47 Well, you just plug that in and find that it has

3:50 about an eight and a half percent chance of being prime.

3:53 Of course, you could use the same trick to find the odds that 137,039 is prime,

3:58 which is also around 8.5%.

4:02 So, what are the odds that both of them are prime?

4:05 Well, you just multiply those odds together,

4:07 that gives you around a 0.7% chance.

4:10 Now we are simplifying a little here because

4:12 we're assuming that primes are independent, which they're not.

4:16 But putting that to one side,

4:18 the odds of both a large number N and N plus two being prime,

4:22 is one over ln(n) times one over ln(n) plus two,

4:26 for large N the plus two is insignificant.

4:29 So, we get the odds of any pair of numbers of size

4:32 N being a twin prime are roughly one over ln(n) squared.

4:38 But of course, the problem with this approach is that the odds

4:41 of a pair being a twin prime decrease as you go to larger numbers.

4:44 So, to count all twin primes up to N,

4:47 we add up the odds at every single position.

4:49 In other words, we integrate this expression

4:52 from the first prime two up to that number.

4:55 Now Hardy and Littlewood refine this argument further

4:58 to account for the fact that primes aren't really independent.

5:01 But all that added is just this correction factor upfront.

5:04 So, the final expression looks like this.

5:07 (bright music) Now let's plot how many twin primes,

5:10 this predicts up to 1 trillion.

5:12 We see that it keeps growing and if we fill in the actual count,

5:16 you'll notice that it is extremely close to the point where by 1 trillion,

5:21 our estimate is only off by 0.001%.

5:26 (bright music)- The only issue though,

5:30 is that this is just an estimate or what mathematicians call a heuristic.

5:36 It can tell you roughly how many twin primes to expect,

5:39 but it can't guarantee that they never stop.

5:42 As Terry Tao puts it, for all we know,

5:45 there could be this fast conspiracy that every

5:48 time a number N decides to be prime,

5:50 it has some secret agreement with its neighbor N

5:53 plus two saying you're not allowed to be prime anymore.

5:57 So, what we need is a rigorous airtight mathematical proof,

6:02 but finding such a proof it turns out, is extremely difficult.

6:07 One of the first mathematicians to really

6:09 try was a 29-year-old Norwegian Viggo Brun.

6:12 (bright music) Brun was working during the early years of the first World War,

6:17 and with travel disrupted and Europe's

6:19 mathematical centers largely out of reach,

6:22 much of his work happened in quiet isolation back in Norway.

6:27 His goal was simple to try and prove

6:29 that the number or count of twin primes always increases.

6:33 And to do this, he took a 2000 year old

6:36 prime counting tool and tried to adapt it for twin primes.

6:39 Now the normal version of this tool is called the sieve of Eratosthenes,

6:43 and it works something like this.

6:46 (bright music) Say we want to find the primes up to 100.

6:50 First we remove one because that's not prime.

6:53 Then we circle the first prime, that is two, and we remove all of its multiples.

6:58 We do the same for three.

6:59 Circle it and remove its multiples,

7:02 (bright music) and then repeat that for five and seven.

7:06 And with these four very quick operations,

7:09 every single number that's left on your 10 by 10 grid is a prime number.

7:15 Now we stop the sieve at seven, and we could keep going sieve by 11 or 30,

7:21 but it turns out that we don't have to.

7:23 So, why is that?

7:25 Well, the next prime is 11.

7:27 So, let's check the numbers below 100 that are divisible by 11.

7:31 22 is two times 11, but since it's divisible by two, we already caught it.

7:36 We also have 33, but that is divisible by three.

7:39 And a similar logic holds for 55 and 77.

7:43 But what about 11 times 11?

7:46 Well notice that is 121, which is not in our range.

7:51 So, every multiple of 11 below 100 was already caught by a smaller prime.

7:57 So, sieving by 11 would cross out nothing new.

8:01 So, Eratosthenes, has this idea that you only need

8:04 to sieve out the primes that are at most square root, the size of the number.

8:08 But there's also a second wave to visualize this sieve.

8:11 Take the number line and let each prime send out

8:14 a wave with the wavelength equal to the size of that number.

8:18 So, the wave from two lands on every second number

8:21 and the wave from three on every third and so on.

8:24 (bright music) Now, notice that wherever a wave lands,

8:29 that number has to be composite.

8:32 But the numbers that escape every preceding wave, well those have to be prime.

8:37 And so you end up with this beautiful visualization of the sieve.

8:42 (bright music) And both of these methods

8:45 make it incredibly easy to identify the primes.

8:49 But Brun didn't care about which primes were left,

8:52 he just needed to know how many were left.

8:55 And to do this, he counted all the numbers

8:58 that were crossed out and then subtracted this from the total,

9:01 since whatever is not crossed out must be prime.

9:05 So, let's use this to find the number of primes below 100.

9:09 We can keep a running count.

9:10 So, we'll start with 100.

9:12 We're gonna throw out all the multiples of two.

9:14 Well, that's 50 numbers left, okay?

9:16 Then we're gonna throw away multiples of three.

9:18 Well, how many multiples of three are there less than 100.

9:20 100 divided by three is not a whole number.

9:22 It's like 33 and a third, but we don't throw out fractions.

9:26 So, okay, forget that stupid little fraction.

9:28 We do the same for the multiples of five and seven,

9:30 but now the count has gone negative.

9:33 Well, it turns out that some numbers got crossed out twice,

9:36 like six for example, it's a multiple of two and three.

9:39 So, we crossed it out once when we removed multiples

9:41 of two and again when we removed multiples of three.

9:44 So, we have to add it back once.

9:46 The same thing happens for multiples of 10, which is two times five,

9:50 14 which is two times seven, 15, which is three times five and so on.

9:54 So, we add these overlaps back and now the count rises to 28,

9:59 but it's still not quite right.

10:01 Now we've triple added back in the multiples of two times three times five,

10:06 so that we need to subtract one more time.

10:09 The same thing happens for 42, which is two times three times seven,

10:12 and 70, which is two times five times seven.

10:15 There's a fourth triple two, three times five times seven,

10:17 which is 105, but that's already bigger than 100.

10:21 So, it contributes nothing here.

10:23 But we'll write it in to keep the pattern complete.

10:26 After the triples, we add back the quadruple,

10:29 two times three times five times seven, which is 210.

10:32 That's also bigger than 100, so it contributes zero as well.

10:36 And finally, we add back the four sieving primes themselves

10:40 and subtract one because it was included in the count.

10:43 So, the count lands at 25 primes.

10:47 This process of alternating between subtracting and adding

10:50 numbers back in is called inclusion exclusion.

10:53 And it makes it super easy to find out

10:54 how many primes there are up to some given number.

10:58 Now this equation still looks a little bit like a mess,

11:01 but actually we can rearrange it into this form.

11:05 Now notice that every prime factor we added

11:08 just adds an additional term in this series.

11:10 We've got the two that goes over here, the three goes over here,

11:14 five goes over here, and seven goes over here.

11:18 And if we were trying to find primes for some higher

11:21 number and we wanted to add 11 as a prime factor,

11:23 it would just add one additional one minus one over 11 term.

11:27 Now in general, if we keep the sieve going up to some prime P,

11:31 which is less than the square root of N,

11:33 then the count becomes approximately this.

11:38 But this is still just the count of primes.

11:40 What Brun really wanted was the count of twin primes.

11:43 And so this is the part where he adapted his sieve,

11:47 to find a case where both N and N plus two are prime.

11:51 For example, when you're sieving by five,

11:53 you remove the numbers where N is divisible by five, just as before.

11:58 But in addition, you need to remove the numbers

12:00 where N plus two is divisible by five.

12:03 So, you also remove 23, 28, 33 and so on because in those cases,

12:09 N plus two is 25, 30, 35 and so on.

12:13 So, this means that while in the ordinary sieve

12:16 a prime P removes about one out of every P numbers,

12:19 the twin prime sieve removes two.

12:22 And this changes the count to this, where

12:25 the numerator for all the terms after two, ends up getting a two.

12:31 Now, if we plot the count of twin primes that this predicts,

12:34 we see that it grows roughly like N over the natural logarithm of N squared,

12:39 just as for our heuristic.

12:41 And so it seems like Brun did it, but unfortunately that is not the case.

12:47 We said that 100 divided by three is 33,

12:50 and a third, but forget about that little error, those little errors,

12:54 it's very difficult to control those errors 'cause

12:56 there are so many of those little errors.

12:58 Each one of them is at most one it's a rounding error.

13:01 Take the traditional sieve of Eratosthenes again,

13:03 when we're sieving with just one prime, we just have an over two.

13:07 So, one rounding error, with two primes, two and three,

13:10 there are three separate rounding errors, but with three primes,

13:14 two, three, and five, there are already seven separate rounding errors,

13:18 each for one term in the inclusion exclusion.

13:22 And so you might start to see the general pattern here.

13:25 One prime gives two to the power one minus one terms,

13:28 two gives two to the power two minus one terms,

13:31 and three primes gives two to the power three minus one terms.

13:35 In general, if you sieve by K primes,

13:38 you get roughly two to the power K minus one error terms,

13:42 but we can drop the one because it doesn't really make much of a difference.

13:47 So, that means that if you're sieving for normal primes,

13:49 the error grows roughly like two to the power K.

13:53 But if you're saving for twin primes, it gets even worse.

13:56 And now the error grows roughly like four to the power K.

13:59 And so this causes a lot of trouble very, very quick.

14:03 (bright music) And then here for the twin primes, it's even worse.

14:11 The main term grows a bit more slowly, but the error term grows much faster.

14:18 So, it still starts off slow.

14:21 And so you can quickly see that once these error terms start dominating,

14:25 you get into trouble.

14:26 So, the issue he was facing is he had

14:28 this main term and the main term, you know,

14:30 it grew in the way he wanted to, but then

14:32 it just got overtaken and dominated by those error terms.

14:36 Exactly.

14:36 And that's all of analysis,

14:37 in general analytic number theory in particular is the fight

14:40 between the main term that you think is the truth, if it actually is the truth,

14:44 and getting the error term to be provably lower order.

14:48 So, for twin primes, the main term grows roughly like this, something

14:51 like N over the natural logarithm of N squared.

14:55 But that's not the true count, because to get the true count,

14:57 we must add and subtract the error terms,

15:00 which gives us this upper and lower bound.

15:03 And now you can see the problem.

15:05 Because the true count can be anywhere in this range,

15:08 and as you can see, a big swath of it is negative.

15:11 So, to prove the conjecture, what we must do is we must show

15:15 that this lower bound is always positive and growing.

15:19 But that is where we run into a problem with the sieve we've been using.

15:23 Because the more primes we sieve by, the more those error

15:27 terms start to accumulate and we just can show this.

15:31 And so what Brun eventually realized is that if you weaken the sieve,

15:35 if you don't sieve all the way up to square root X,

15:37 but to up to something less than

15:39 that, and you are very careful about your inclusion exclusion,

15:44 you can actually take care of those error terms.

15:46 So, run a sieve by fewer factors, only up to N to the power one over 10.

15:52 And as a result, he gained enough control over the error term.

15:56 But this chooses a trade off.

15:58 Say you wanted to find all the prime numbers up to 10 billion,

16:02 then using the square root method,

16:03 you would need to sieve up to the square root of 10 billion, which is 100,000.

16:08 But that gives you a lot of error terms.

16:12 But with Brun's method, you would only need to sieve up to 10 billion

16:16 to the power one over 10, which is just 10.

16:20 But there's a catch.

16:21 Because Brun, didn't sieve by all the primes,

16:24 there were some survivors that weren't prime at all,

16:26 but numbers with many prime factors, in Brun's case up to nine.

16:31 So, what he actually ended up proving is

16:34 that there are infinitely many pairs of numbers two apart,

16:37 where each number has at most nine prime factors.

16:42 Brun's techniques were improved and improved and improved,

16:45 and we went from nine prime factors

16:47 to seven prime factors to three prime factors.

16:50 Until in 1973, a Chinese mathematician Chen Jingrun comes

16:55 along and proved that there are infinitely many prime P,

16:58 where P plus two has at most two prime factors.

17:03 This is as close as you could get

17:05 to proving the twin prime conjecture without actually getting there.

17:09 We're stuck like we're like as close as we can get and no further.

17:14 Right.

17:14 So, that's one approximation, one mechanism for approximating twin primes.

17:19 There's another.

17:20 So, the other mechanism is what's

17:23 the smallest gap between two consecutive primes?

17:25 So, instead of saying they differ by two

17:27 and one of them's prime and the other one,

17:29 well, we're gonna try to get, you know,

17:31 reduce the number of prime factors that it has.

17:33 Instead we're gonna say both numbers must be prime,

17:36 but let's reduce the distance between them.

17:40 Now remember, on average consecutive primes sit

17:42 about the natural logarithm of N apart.

17:45 And so the question became,

17:46 can we at least prove that primes come closer than that average gap?

17:52 For decades, mathematicians kept chipping away at this problem.

17:56 By 1988, the gap had dropped all the way

17:58 down to roughly a quarter of the average gap.

18:01 This means that say the average gap is 100 at some enormous scale,

18:05 then primes must sometimes come within about 25 of each other.

18:10 But then in 2005, Goldston, Pintz and Yildirim,

18:14 proved a result that shocked the mathematical community.

18:17 And they announced the proof of a spectacular result,

18:20 0% bounded gaps of 0% of the average.

18:25 Wait, what?

18:26 They proved that you can make the fraction as small as you want.

18:29 This means the gap could be one 10th or 100th,

18:33 or even 1000000th of the average gap.

18:35 It could be as arbitrarily small as you like,

18:38 and infinitely often primes get that close.

18:42 When I was young, we didn't know there were gaps of size,

18:44 less than say one 10th log X

18:46 or infinitely many primes pairs and Goldston and Yildirim,

18:50 came up with a method to attack that.

18:54 But the method also came close to something even bigger,

18:57 an absolute bounded gap between two primes.

19:01 (bright music)- And so that was like a big thing.

19:04 What was the big desire to go from 0%

19:07 or arbitrarily small to a concrete bounded gap?

19:11 Well, because we think that the bound

19:13 between two consecutive primes infinitely often is two,

19:15 and right now we're showing that it's log X, and X grows.

19:19 If they could get to bounded gaps,

19:21 then they had another method to attack the conjecture.

19:25 The only problem was that it seemed like their tool ran into a wall.

19:30 And so in 2005, the American Institute of Mathematics convened a meeting,

19:35 gathering all the world's leading experts on this problem.

19:39 GPY, Andrew Granville, Kannan Soundararajan,

19:43 all gathered for a week in California with one explicit goal,

19:48 to prove a bounded gap between primes.

19:51 I was a young graduate student, I was very lucky to get to go to this meeting.

19:56 You're surrounded by the world's top experts on this subject.

19:59 We spent an entire week.

20:01 And the upshot of this week was basically that it's impossible.

20:04 And Soundararajan shows how it's not possible to do this thing.

20:08 And so as far as I was concerned, that was that, and I, you know,

20:11 this wasn't gonna be my thesis problem,

20:13 I'd have to do something else and I went off and and did other things.

20:16 But there was one person who was not at this meeting, Yitang Zhang.

20:20 (bright music)- Zhang grew up in China,

20:24 and around the age of 30 moved to the U.S.

20:27 to get his PhD in mathematics,

20:29 but he never got any recommendation letters and so struggled to find a job.

20:36 He ended up living in his car for time

20:38 and ultimately working odd jobs for seven years,

20:41 including at Subway, where he kept the books and sorted receipts.

20:47 Yet, while doing all of that in his spare time,

20:50 he would drive down to the local library

20:52 to read books and journals on number theory.

20:56 (bright music) Then in 1999, he got a lucky break.

21:01 One of his friends helped him get a job

21:03 as a lecturer at the University of New Hampshire.

21:06 So, now he could spend all his time doing what he loved most, math.

21:12 Zhang said that when he was a kid, he "Imagined there would be a day that I

21:16 would solve a major math problem." And by 2010,

21:20 he had identified his major problem to focus on, bounded gaps between primes.

21:27 But to understand what he was working on, we need

21:30 to understand what exactly it is that GPY had built.

21:35 See, they wanted to find two primes within a bounded gap.

21:38 And to do this, they imagined a stencil of sorts with some holes in it.

21:43 So, let's do the same, and for the sake of this example,

21:47 let's say the stencil has a diameter of six and holes at spot zero, two and six.

21:53 Next we place the stencil anywhere on the number line, say starting at 12.

21:59 And we ask a simple question, how many primes do we see?

22:03 In this case, we see 12, 14, and 18, none of which are prime.

22:07 So, we write down zero.

22:09 Next we shift the stencil over one spot and repeat,

22:13 13, 15, and 19, two of which are prime.

22:17 So, we write down two.

22:18 And then we keep doing this.

22:20 If you slide it a bit further, we catch two primes again, 23 and 29.

22:25 Now, if you keep moving the stencil across

22:28 the number line and it keeps catching two primes,

22:31 then you have proven that infinitely often

22:34 pairs of primes exist within a bounded gap.

22:37 Six in this case, since that's the diameter of our stencil.

22:42 But there are two problems with this approach.

22:45 The first is that we don't know exactly where all the primes are.

22:49 And the second is that of course you can't keep

22:52 sliding a stencil down the number line forever because well,

22:55 it's infinitely long.

22:57 Fortunately, there is an easy way to get around that first problem.

23:01 See, while we don't know exactly where all the primes are,

23:04 we do know how they behave on average.

23:07 For example, say we take some stretch of the number

23:10 line from some very large number X to two X,

23:14 then we can't predict exactly which numbers in this stretch will be prime.

23:18 But what we can do is put this into the prime

23:21 number theorem and estimate how many primes to expect on average.

23:25 (bright music) And GPY realized they could do a similar thing

23:30 for their stencil method to build an averaging machine of sorts.

23:35 All you do is you set up the stencil you want, input your range,

23:38 and out comes the average number of primes it caught per position.

23:42 So, let's do a quick example without the machine to see how this helps.

23:48 Let's use the same stencil from before and use the range 20 to 40.

23:52 Now, in reality, you would use a much larger range,

23:55 but for simplicity, let's stick to this.

23:58 To find the average, you just place the stencil at the start of your range,

24:02 and you'll look at which numbers you see, 20, 22 and 26.

24:06 None of which are prime and so the total prime count is zero.

24:10 Then we shift the stencil over one spot and see 21, 23 and 27.

24:15 One of which is prime, so we increase the total by one.

24:19 Now let's keep shifting the stencil and keep adding all the primes we see.

24:24 No primes, so add zero, two primes, add two, and so on.

24:29 (stencil shuffling) Now,

24:32 if you keep shifting the stencil all the way until the end,

24:35 you find a total of 14 primes across 21 starting positions.

24:40 (bright music) And so the average is 14 over 21,

24:45 or about 0.67 primes per location.

24:51 Now in this case where we checked every spot by hand,

24:55 we could see that the stencil caught several positions with two primes in them.

25:00 But the averaging machine doesn't tell us this.

25:03 All that spits out is an average,

25:05 and that average alone can't guarantee that it caught two primes at once,

25:10 because you could just as well imagine spreading

25:12 all of these 14 primes over 14 individual positions.

25:17 And the same would be true if the average was 0.8, 0.9, or even one.

25:23 I know it's unlikely, but it could be that every position only

25:27 caught one prime to bring the average to one.

25:31 But what if the average was larger than one?

25:34 What if we found 22 primes in total?

25:37 Well, even if every position had caught one prime,

25:41 you would still have one prime left over

25:43 and that needs to go in one of those other positions.

25:47 So, in other words, if the average is above one,

25:50 then that guarantees that at least one position caught two primes.

25:55 And so that's the game.

25:56 Get the average number of primes above one, but that still leaves one question.

26:02 Even if you could do that, then how does that help you

26:06 prove that you keep getting bounded gaps all the way up to infinity?

26:10 Well, remember you just proved that for any large number X,

26:15 so there's nothing stopping you from replacing that X with two X,

26:19 and that two X with four X,

26:21 and then you could replace the two X with four X and the four X with eight X,

26:26 and so, on all the way up to infinity.

26:29 So, if you can prove that the average gap is above one for any large number X,

26:35 then with this clever setup, it immediately extends all the way out to infinity,

26:40 and you would've proven your bounded gap.

26:43 (bright music)- Unfortunately, running the machine with just the current inputs,

26:48 the stencil visits many positions where it catches zero primes,

26:52 this drags the average down and means it will never get above one.

26:56 So, GPY made one final tweak to their machine.

26:59 They realize that some starting positions are

27:01 more likely to catch primes than others.

27:04 For example, if the stencil only lands on even numbers,

27:07 it will always give zero primes unless it includes two.

27:11 So, those positions should not be weighted equally to the others.

27:15 Similarly, if you can divide one or more of the numbers in the stencil by three,

27:18 five, seven, or other small prime factors,

27:21 it's also more unlikely you have primes in your stencil.

27:24 So, they should also be weighted less.

27:27 Now, GPY did a few simple checks like

27:29 this for each position to assign it a weight,

27:32 and estimate of how likely it is that this position contains primes.

27:36 This turned their averaging machine into a weighted averaging machine.

27:40 And as a result, that weighted average shot up.

27:43 With their updated machine they proved that if you pick any large number X,

27:48 then in the range X to two X,

27:50 you could get the weighted average arbitrarily close to one, but not above one.

27:56 They were close, but they ran into a wall.

27:59 A wall that came from their weights,

28:02 because to figure out how to weigh different positions,

28:04 they needed to know how primes are

28:06 distributed in something known as an arithmetic progression.

28:09 These are basically just series of numbers

28:12 where they're all the same step size apart.

28:15 So, 3, 7, 11, 15, that's an arithmetic progression with a step size of four.

28:21 Now, GPY needed to know how primes were distributed over

28:24 many such arithmetic progressions with all kinds of different step sizes.

28:29 Fortunately, they knew of theorem from the 1960s

28:32 they could use to do exactly this.

28:34 It's the substitute for the Riemann hypothesis on average,

28:37 and it turns out that that's what's actually

28:39 necessary in a lot of these arithmetic applications.

28:42 But that theorem doesn't work everywhere.

28:45 It only works for step sizes up to the square root of X or X to the one half.

28:50 The technical term for this one half is the level of distribution or theta.

28:55 It tells you how large the step sizes can be

28:58 while still getting a reliable count of primes in those progressions.

29:02 And mathematicians believed that the theorem worked beyond X to the half,

29:06 but this was never proven, and that is where the trouble lies.

29:11 When GPY ran their calculation with this ceiling,

29:14 they found the maximum weighted average they could get was two times theta.

29:19 In other words, they got really close to one,

29:22 but they could never actually cross it.

29:25 They showed in their method that if you could get beyond a half,

29:28 you could do 0.5000001.

29:31 Then instead of just getting 0% of the average gap, they can get bounded gaps.

29:36 The primes would be some fixed distance apart.

29:39 That's what the 2005 meeting was all about.

29:41 They kept trying to push past that one half barrier,

29:45 but they ended up concluding that it was impossible.

29:49 From 2010 on, Zhang spent two years hacking away at it as well,

29:54 internalizing the GPY argument,

29:56 working day and night just to try and find a way through.

30:00 (bright music) But by the summer of 2012,

30:04 Zhang was exhausted, and had nothing to show for it.

30:08 Hoping to clear his head, he visited a friend in Colorado,

30:12 where one evening while they were waiting to leave for concert,

30:15 Zhang stepped outside alone into the backyard,

30:19 looking out for the deer that usually roamed the property, but no deer came.

30:26 So, he was just walking and thinking when

30:29 all of a sudden the answer came to him.

30:33 He hadn't brought any notes or paper, but Zhang believed his idea would work.

30:38 (bright music)- You see, GPY had to count primes in many different

30:43 arithmetic progressions with all sorts of step sizes.

30:46 But Zhang focused on a special class of step sizes,

30:49 one's built only from small prime factors,

30:52 and he realized he could reorganize the error terms

30:55 into a form where most of them get canceled out.

30:58 This allowed him to push past the half

31:00 barrier by a tiny fraction, just one over 584.

31:06 Zhang spent the next year finalizing his proof, and then on the 17th of April,

31:11 2013, he sent off that curious email to the Annals of Mathematics.

31:16 Now, the Annals gets a proof of the Riemann Hypothesis every other day,

31:20 so they're like, okay, surely this isn't gonna work out, but whatever.

31:23 You know, we'll send it to a referee.

31:25 And they're like, well, let's spend a few hours this afternoon.

31:30 We'll find a mistake.

31:31 We'll tell the annals, you know, sorry, it didn't work out.

31:33 Here's where the the gap is.

31:35 And they start reading it, and then they flip back, because they're experts.

31:39 So, they can just flip through like, yeah, this'll work,

31:41 this will work, but wait a second, you're gonna get stuck here.

31:43 And they flip five pages and they're like, oh, that's interesting.

31:46 That's how you're gonna handle that.

31:48 Okay, but then you're gonna have another,

31:50 it's like trying to lay down a carpet in a room.

31:54 You're like, okay, I know that corner,

31:56 that corner's gonna screw you up even if you managed to make it work over there.

31:59 And then he goes over there, no, he cut it just right.

32:01 It fits in that corner.

32:02 Wait a second.

32:03 And then they flip, you know, five more pages and by the end of the week,

32:06 they've reconstructed the proof and everything's right.

32:11 Wow.

32:11 (bright music)- Zhang's stencil had 3.5 million slots,

32:16 spread across a span of 70 million.

32:18 And by proving two of those slots always catch primes,

32:22 he proved a bounded gap of 70 million.

32:26 When the news broke, mathematicians were in disbelief.

32:29 It was basically an unknown in the field.

32:31 I actually thought when I started reading Yitang

32:33 Zhang's paper and started realizing it was probably correct,

32:36 I thought it was probably one of the people I knew under a pseudonym,

32:39 trying to avoid being embarrassed by being wrong.

32:41 If they were wrong.

32:43 Of course it wasn't, Zhang was real.

32:45 And just over a year later he was awarded the MacArthur Genius Grant.

32:49 (bright music)- To me,

32:52 this is a really interesting aspect of mathematics in particular.

32:56 I think it's one of the very few fields where we

32:59 have a truly honest approach to success and what counts as success.

33:05 He sent in an argument, people took it seriously.

33:08 They looked at it.

33:09 They didn't think that he had a true proof.

33:10 They sat there, they gave him the time that the argument was due,

33:15 and he was immediately made a hero as he should have been.

33:17 To me, it shows that mathematics culture works.

33:19 We're doing the right thing.

33:21 I think the cover of like Scientific American or whatever in 2013 is the story

33:26 Yitang Zhang and how he got this bounded

33:28 gap between primes toiling in complete isolation.

33:31 And maybe it's because he was in isolation that he

33:33 didn't have the group think that the rest of us did.

33:35 To know that this was not, we were all told it's an impossible problem.

33:40 After realizing a bounded gap was not an impossible dream,

33:44 people reworked Zhang's method to optimize it.

33:47 Terence Tao spearheaded an online group called Polymath,

33:50 and they sharpened the method.

33:52 So, every month, week or day, that upper bound kept coming down.

33:56 One of the attendees described being at a conference at the time,

34:00 as I remember, sort of day by day,

34:02 everyone was refreshing their screens to see who had the world record now,

34:06 and ultimately they got the number all the way down to 4,680.

34:12 Meanwhile, there's a young postdoc named James Maynard,

34:16 who just got his PhD at Oxford with Roger Heath-Brown

34:19 and other one of these analytic number theory world experts.

34:22 And he's working with Andrew Granville, in Montreal.

34:26 And he has a completely orthogonal approach to this problem

34:31 that he'd been making some very incremental progress on independently.

34:35 When Maynard started, his advisor explicitly told him,

34:38 "I hope you won't work on this problem full time,

34:41 because I'm really pretty confident you're going

34:43 to fail." But Maynard ignored the warning,

34:47 and came up with a different way to attack the problem,

34:51 and within just a few months, he got it to work.

34:55 Further bring down the gap to 600.

34:58 But his method also proved something else.

35:01 He can get three primes in a bounded window.

35:03 The bound has to change depending on how

35:05 many primes you wanna put in that window, and that his number is better.

35:08 And the method has nothing to do with the exponent one half.

35:12 Wait, what?

35:13 One half was a pure mirage.

35:16 It was a red herring.

35:18 That is crazy.

35:19 One half was not a fundamental limit at all.

35:22 See where GPY average was stuck at two times theta,

35:26 Maynard's average grew roughly like theta over

35:29 two times the natural logarithm of K,

35:31 where K is the number of slots in the stencil.

35:34 So, all Maynard needed was enough slots and it worked.

35:39 You need any number greater than zero.

35:41 When you go up to one half because you have one half,

35:43 you'll get better numerics.

35:45 But the bounded gaps you could do,

35:46 just going up to, you know, 0.01, not 0.50101.

35:50 Now, curiously, Terry Tao independently has the same approach.

35:56 He tells Ben Green about it,

35:57 Ben Green is meeting with Andrew Granville, and says, "Hey,

36:01 Terry's got this new idea that he

36:04 thinks is gonna get even farther." And Granville, says, wait a second.

36:06 My postdoc, Maynard, is doing exactly the same thing.

36:09 We gotta get these two guys to talk to one another.

36:11 Terry's a Fields medalist, he's like a super heavyweight by this point,

36:16 whereas James is this, you know, fresh PhD,

36:21 and Terry says, you take it, I don't need this.

36:23 You know, you this, it's your idea, you go with it.

36:27 By early 2014, Maynard joined forces with Tao's Polymath group.

36:31 It was clear that somehow 600 was just a proof of concept,

36:34 and the same methods would give something smaller,

36:37 but there were extra ideas that you could maybe use to squeeze everything out.

36:42 And so the current world record is that there's infinitely

36:44 many pairs of primes that differ by no more than 246.

36:49 (bright music)- And that for now is where it stops.

36:52 In 2022, James Maynard was awarded the Fields Medal,

36:56 Mathematics, highest honor for his work on prime gaps.

37:01 Yeah, I think that's the basic outline is the kind

37:04 of two directions of approximation to twin primes Chen's direction, Brun, Chen,

37:09 whatever, versus Zhang and Maynard,

37:12 and this story that the Zhang wasn't at this meeting,

37:15 so he didn't know it was impossible.

37:16 It reminded me of the four minute mile where everyone thought it was impossible.

37:19 No one did it.

37:21 And then for the first time ever, Roger Bannister broke it in 1954,

37:25 and after knowing it was possible, just 46 days later,

37:29 another runner called John Landy broke it as well.

37:32 And by the end of 1956, 10 people had broken it,

37:37 all from knowing that it was possible.

37:41 So, what about pushing that gap down even lower?

37:44 Is that possible?

37:46 Well, mathematicians have found ways to bring it down even more,

37:50 but all of these results are conditional.

37:52 For example, there is the Elliot-Halberstam conjecture,

37:56 which assumes primes are spread evenly across arithmetic progressions,

38:00 or that the level of distribution can be taken as large as one.

38:04 And in 2013, Maynard showed that if you assume this conjecture is true,

38:09 then the gap plummets to just 12.

38:12 A year later, the Polymath Group proved that if

38:14 you assume an even stronger version of this conjecture,

38:17 the gap drops all the way down to six.

38:21 But without assuming anything, 246 still stands.

38:27 Let me ask you, do you think we're gonna solve the twin Prime conjecture?

38:32 I am totally convinced that humanity

38:34 will eventually solve the twin prime conjecture.

38:37 Often when I'm asked about some of these big

38:40 famous problems like Twin Primes or Riemann or something like

38:44 that, one way of kind of avoiding the question is

38:48 that if you imagine you are randomly distributed in time,

38:52 you'd expect to be sort of typically roughly

38:56 halfway through when the conjectures been open for.

38:59 So, an actual guess, if you have no other information,

39:02 is to guess that a problem will be open

39:05 for as long as it has been open for already.

39:07 But obviously this doesn't work for twin primes,

39:09 'cause we don't know whether it's-- Right.

39:12 (all laughing)- 125 years old or whether it's like 2000 years old.

39:16 So, I think it's a fools game to guess,

39:18 but it clearly needs a really big idea, but maybe it only needs one big idea.

39:25 Although maybe, just maybe, not knowing this with certainty is for the best.

39:30 Because if we knew for sure that this was impossible,

39:34 then we would've likely missed out on most

39:36 of these inventions and new methods over the past century.

39:40 So, sometimes it pays not to know everything.

39:46 You know, before I started this channel, I was a teacher at a tutoring company,

39:50 and honestly, it was the best job I'd had up until that point.

39:54 I could be the person who gave my students

39:56 that one big idea that would help everything click.

40:00 You know, the fastest way to learn something is

40:02 to have someone next to you who already understands it.

40:06 Unfortunately, many students don't have access to that kind of support.

40:10 That is, until now, our long-term sponsor Brilliant, has just launched Koji,

40:15 which is a revolutionary personal tutor

40:17 that makes one-on-one learning accessible for everyone.

40:20 Koji can see what you do and answer any questions.

40:24 He can even draw onscreen to help explain those big ideas,

40:27 just like a person sitting next to you.

40:29 He asks guiding questions, walks you through problems step by step,

40:32 and adapts to where you're at in real time.

40:35 You get a world class personal tutor in your pocket.

40:38 Koji can help you work through math and coding

40:40 streams from grade five through college and beyond.

40:43 Each course is designed by experts from places like MIT,

40:46 Harvard, Stanford, and Caltech.

40:48 It's a great way to get seriously engaged with math,

40:51 coding, think hard and have fun, especially for students on summer break to stay

40:55 sharp or get ahead for next year.

40:57 So, click the link below to get started with Brilliant's tutor for free,

41:01 and you can also upgrade to Premium to get full tutor support.

41:05 Right now, Brilliant is giving Veritasium viewers

41:07 a special 20% off an annual premium subscription.

41:11 Just go to brilliant.org/veritasium.

41:14 You can scan this QR code or click the link in the description.

41:18 So, I wanna thank Brilliant for sponsoring

41:19 this video and I wanna thank you for watching.

Study with Looplines Download Captions Watch on YouTube