In 2013, Yitang Zhang, a lecturer at the University of New Hampshire who had previously worked at a Subway sandwich shop, proved that there exists a positive integer H less than 70 million such that infinitely many pairs of consecutive primes pn+1 and pn satisfy pn+1 - pn < H, demonstrating that prime gaps do not grow without bound. This breakthrough, which ended a 100-year open problem, was achieved by refining the Bombieri-Vinogradov theorem for smooth moduli and combining it with Kloosterman sum estimates, ultimately leading to the current best unconditional bound of 246 through collaborative optimization efforts.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
The Lecturer At Subway Who Solved A 100-Year-Old Prime ProblemAdded:
3, 5, 7, 11, 13.
The smallest primes.
A pattern starts to peek out. 3 and 5 differ by 2.
5 and 7 differ by 2. 11 and 13 differ by 2.
These are called twin primes. Pairs of primes separated by exactly 2, the smallest possible separation since one of any two consecutive integers is even.
The question is ancient. Look down the list, 3 and 5, 5 and 7, 11 and 13, 17 and 19, 29 and 31. They keep appearing.
As you go further, primes thin out. The chance two random integers near size n are both prime is about 1 over log squared [music] of n, vanishingly small.
And yet twin pairs keep showing up.
Computer searches have found over a quadrillion of them.
Are there infinitely many?
Euclid proved primes themselves are infinite around 300 BC. Twin primes, gap of 2, has stayed open for over 2,000 years.
Brun showed the sum of reciprocals of twin primes converges, unlike primes themselves where it diverges. [music] So twins are genuinely rare. Hardy and Littlewood in 1923 conjectured the count of twins up to n grows like a constant times n over log squared n.
Computers say this matches, but heuristics aren't proof.
The conjecture has stared [music] mathematicians in the face for a century. Nobody had gotten near a proof.
By 2010, the field's working assumption was this won't be solved anytime soon.
Maybe never. Suppose proving infinitely many gaps of exactly [music] two is too hard. Mathematicians ask a softer question.
Forget two.
Are there infinitely many prime pairs separated by some bounded amount, any bounded amount? [music] Define a sequence. For each n, let pn be the [music] nth prime and consider the gap pn + 1 - pn.
As n grows, the average gap grows like log of pn. Sometimes gaps are larger, sometimes smaller.
The question, do small gaps keep happening forever or do they thin out [music] and disappear?
In 2005, Goldston, Pintz, and Yildirim proved a striking result.
The limit of the ratio of these gaps to log p, the smallest gap relative to the average, is zero.
In words, prime gaps that are vanishingly small fractions of the average happen infinitely often.
This was huge. It said primes don't behave like random numbers, where the smallest gaps would be on the order of log p.
But it didn't say the gaps were bounded.
The smallest gaps in their proof could grow just slower than log p. To get bounded, a fixed h such that infinitely many gaps are below h, they would have needed an additional ingredient.
Stronger control over prime distribution in arithmetic progressions.
They couldn't get it.
They ended their paper noting the obstacle. The obstacle was a theorem of Bombieri and Vinogradov from 1965.
It said primes are well distributed in arithmetic progressions modulo q on average over q up to roughly square root of x. To bound prime gaps, GPY needed it for q up to a higher power. The boundary, square root of x, was conjecturally not the truth. Elliott and Halberstam said you could push to x to 1 - epsilon.
But nobody had proven anything beyond square root in general. Yitang Zhang was born in Shanghai in 1955.
He learned mathematics from his father and from books his mother brought home.
The Cultural Revolution interrupted his education. He was sent to a labor camp at 15 and worked there for 10 years. He didn't enter university until 1978 at age 23 when restrictions were lifted.
He came to the United States in 1985, finished a PhD at Purdue in 1991.
His thesis was on the Jacobian conjecture, a hard problem in algebraic geometry.
The result didn't come together. He left Purdue without academic prospects.
>> [music] >> For 7 years, he had no permanent job. He worked as an accountant.
He worked at a Subway sandwich shop in Lexington, Kentucky. [music] Friends who knew his ability were quietly horrified.
>> [music] >> In 1999, Zhang got a position as a lecturer at the University of New Hampshire.
Lecturer is a title that means you teach, you don't get tenure, you don't get research support, you fade.
He taught calculus. He had a small office, no graduate students, no funding. He worked on number theory in the cracks of his teaching schedule.
He published a few papers, nobody noticed. [music] For 14 years, he kept thinking about prime gaps.
The GPY work in 2005 had pointed at the obstacle. Zhang slowly in solitude attacked the obstacle. He didn't tell colleagues what he was working on.
In April 2013, at age 58, Zhang submitted a 50-page paper to the Annals of Mathematics, the most selective journal in the field.
Title: Bounded [music] Gaps Between Primes.
The Annals reviewed it in 3 weeks.
Usually, it takes a year. They accepted it on May 21st, [music] 2013. The theorem in Zhang's paper: There exists a positive integer H less than 70 million such that there are infinitely many pairs of primes pn + 1 and [music] pn satisfying pn + 1 - pn less than h. What does this say? It says prime gaps do not eventually grow without bound. In every interval extending to infinity, there is some bounded gap that keeps recurring forever.
Some specific gap less than 70 million happens infinitely often. 70 million is enormous.
The twin prime conjecture says you can take h equals two, a trillion times smaller than Zhang's bound.
But twin primes is an existent statement about a specific number, two.
Zhang's theorem is the first time anyone has proved the gap [music] stays bounded by anything. Bounded gaps had been a target for a century.
Zhang ended its open status. The bound 70 million was an artifact of the proof, not a fundamental obstacle. The proof depended on a parameter that you could optimize.
Zhang chose a value that made the analysis tractable, but not optimal. He knew the 70 million could be lowered. He just wanted to show the bound existed at all.
The reaction was instantaneous. Andrew Granville reviewed the paper for the Annals and called it the most interesting thing he had seen in years.
>> [music] >> Terrence Tao, who had been working on adjacent problems, posted within hours of the announcement. Henrik Iwaniec said, "This is the biggest result in analytic number theory this century."
Zhang himself, contacted by reporters, said he was surprised by the attention.
He had been working on the problem for over three years. He thought the result was correct, but he didn't expect anyone to care this much. Zhang's proof builds on the GPY method.
Consider the sum over primes p up to x of the indicator that p + h is also prime, weighted by some carefully chosen function. By choosing the weights to peak when small clusters of integers are all prime, you turn the count of small gaps into a manageable sum.
The sum splits into terms. The dominant terms involve sums of the von Mangoldt function over [music] arithmetic progressions. To bound them, you need control over how primes [music] distribute among residue classes modulo Q.
The Bombieri-Vinogradov theorem gives this on average up to Q less than square root of X. GPY needed the same average distribution, but for Q up to a slightly higher power of X. Zhang's contribution was a refined version of Bombieri-Vinogradov restricted to Q with smooth factorizations.
Q whose prime factors are all bounded by X to a small power. For these special moduli, >> [music] >> Zhang pushed the average distribution past square root of X into the territory needed. The technique was called Bombieri-Vinogradov with well-factorable weights.
It was technical, hard, and clever.
Zhang combined it with deep work on Kloosterman sums, exponential sums over residue classes, using estimates due to Deligne from arithmetic algebraic geometry. The bound on the Kloosterman sum, which Deligne proved as a corollary of his Weil conjectures work, gave Zhang the savings he needed.
The actual chain of reasoning is intricate, but the structural picture is clear. Zhang took a tool that almost worked, the GPY sieve, and patched it with a sharper distribution result for primes over a restricted family of moduli.
The patch closed the gap. Bounded gaps fell out. Within a week of Zhang's announcement, Terence Tao started Polymath 8, an online collaborative project on his blog inviting anyone to optimize the bound. [music] The structure of Zhang's proof was a long chain of estimates, each with a parameter. Each parameter could be tightened. The collective could explore the parameter space far faster than any individual.
The bound dropped fast. Within days, 42 million. Within weeks, 10 million. By mid-July, less than 1 million.
By the end of July, less than 400,000.
By August, less than 5,000. Polymath 8 had a running tally on Tao's blog, updated in real time. Mathematicians around the world contributed improvements to specific lemmas, better numerical optimization, refined sieve constructions.
By October 2013, the bound was around 4,000.
The momentum slowed. The remaining factor, getting from thousands to [music] hundreds, would require new ideas, not just optimization.
Then in November, James Maynard, a 26-year-old post-doc at Université de Montréal, posted a paper. Maynard had developed an independent proof of bounded gaps using a different sieve.
His method, based on a multi-dimensional analog of GPY, gave a much smaller bound directly, 600.
Maynard's proof was also conceptually cleaner.
The sieve weights had a natural interpretation. The argument generalized to bounding the smallest k-tuples of primes, not just pairs, but triples, quadruples, and so on.
With Maynard's machinery, Polymath could push further. By April 2014, a combined Polymath plus Maynard effort got the bound down to 246.
That's where it sits today, 246, 23% above the bound from the strongest version of the Elliott-Halberstam conjecture, which would push it to 12.
[music] Maynard's contribution deserves its own beat. His sieve was different from GPY's.
Where GPY used one-dimensional weights, functions of a single variable, Maynard used multi-dimensional weights, functions of K variables. The optimization problem for the right weight function became a constrained variational problem in K dimensions.
The result was striking. The same general framework that gave Zhang his 70 million now gave Maynard 600, a 100,000-fold improvement with cleaner ingredients and no Kloosterman sum machinery.
Maynard's work didn't use Deligne's deep theorem. It was, in technical terms, far more elementary.
Maynard's method also gave more. It proved that for every K, there is a positive integer HK such that infinitely many sets of K primes [music] lie within an interval of length HK. Not just pairs, triples, quadruples, arbitrarily long bounded clusters. The bounded gap result [music] was the special case K equals 2.
Maynard had shown how to prove a much stronger family of theorems with a much [music] simpler tool.
He won the Fields Medal in 2022, in part for this work. The combined effect, Zhang's breakthrough plus Maynard's machinery plus Polymath's optimization, moved bounded gaps from a problem people couldn't approach to a problem with a concrete numerical bound.
The twin prime conjecture is still open.
But Zhang's paper proved that the problem is finite, that bounded gaps exist, and that finite barrier is what twin primes ultimately needs to overcome. The twin prime conjecture remains officially unsolved.
246 is the best unconditional bound on prime gaps that recur infinitely often.
Conditional on the generalized Elliott-Halberstam conjecture, the bound drops to 12. Conditional on a still stronger statement nobody knows how to prove, the bound is six.
To reach two nucleuster, twin primes would need techniques nobody has invented yet. After Zhang's paper, the prizes came.
The Cole Prize in 2014.
The Ostrowski Prize in 2013.
The Rolf Schock Prize in 2014. He went from a lecturer at New Hampshire to a full professor at the University of California, Santa Barbara.
The lecture circuit found him.
The world found him.
Maynard finished his PhD shortly after publishing. He won the Fields Medal in 2022. The work he did at age 26 is now standard graduate level analytic number theory.
Zhang himself, asked about the path to the proof, said this, "I was very calm.
I am a slow worker.
I had to work alone."
The deeper lesson lives in the math. For a hundred years, mathematicians believed bounded gaps were essentially out of reach without the generalized Elliott-Halberstam conjecture.
Zhang showed that wasn't true. A clever workaround, restricting to smooth moduli, exploiting Deligne's bound, gave the result without the unproven hypothesis.
The barrier had a door. Yitang Zhang spent 14 years thinking about prime gaps in a small office at the University of New Hampshire while teaching calculus to undergraduates.
Nobody asked him to do it. Nobody funded him.
He had no graduate students, no peers in his subfield. He just kept working.
Then, at age 58, he opened the door.
Related Videos
Escaping the Fog
LogicLemurGaming
760 views•2026-06-03
Olympiad Mathematics | Indian | Can You Solve This One?
PhilCoolMath
650 views•2026-06-03
A Brutal Radical Expression Made Easy! The Shortcut Changes Everything.
tamoshop
112 views•2026-06-02
V : jee main /advance class 11 mathematics : Binomial Theorem class-1 ( 29 may 2026 )
dcamclassesiitjeemainsadva9953
125 views•2026-05-29
Is This Pentomino Tileable?
3cycle
241 views•2026-05-30
This Sudoku Has Many Lines!!
CrackingTheCryptic
2K views•2026-05-29
Olympiad Mathematics | Indian Can You Solve This One?
PhilCoolMath
268 views•2026-06-02
Olympiad Mathematics | Indian | Can You Solve This?
PhilCoolMath
669 views•2026-06-02











