Skip to content
Field Atlas

Atlas / Mathematics / The Combinatorics Thread

Field · Emerged 1916 – 1975

Extremal Combinatorics

How large can a structure grow before some pattern is forced to appear inside it?

4 chapters3 min read7 turning points2 open problems

Branched from
Graph Theory + Enumerative Combinatorics
Branched into
Probabilistic Combinatorics
Figures
Issai Schur, Bartel van der Waerden, Frank Ramsey, Paul Erdős, George Szekeres, Esther Klein, Pál Turán, Endre Szemerédi, Ben Green, Terence Tao, Marcelo Campos, Simon Griffiths, Robert Morris, Julian Sahasrabudhe

In brief

Extremal combinatorics asks how big or dense something can be while still avoiding a given pattern. How many edges can a network on nn points have without containing a triangle? How many numbers can be picked from 1 to NN without three of them forming an evenly spaced progression?

Its most famous branch, Ramsey theory, shows that complete disorder is impossible. Colour the connections of a large enough network with two colours and a large single-coloured cluster must appear. The theorems say that such order must exist, but not where, and the numbers involved are so hard to pin down that the smallest guaranteed party with five mutual friends or five mutual strangers is still unknown.

Key ideas

Ramsey numberEnters 1930

R(s,t)R(s, t) is the smallest nn such that any two-colouring of the connections among nn points contains ss points all joined in the first colour or tt in the second. R(3,3)=6R(3,3) = 6 and R(4,4)=18R(4,4) = 18.

Unavoidable patternEnters 1927

The theme of Ramsey theory: any sufficiently large structure, however it is arranged, contains a regular substructure of a given size.

Extremal numberEnters 1941

The largest number of edges a graph on nn vertices can have without containing a given subgraph. Turán found it exactly when the forbidden subgraph is a complete graph.

DensityEnters 1975

The proportion of a set of whole numbers, measured in the long run. Szemerédi proved that any set of positive density contains arithmetic progressions of every length.

Chapter I

Order From Colouring

The first result of the field was found by accident. In 1916 Issai Schur, studying Fermat's equation modulo primes, needed a lemma: however the numbers from 1 to NN are split into a few classes, some class contains xx, yy and x+yx + y once NN is large enough. In 1927 Bartel van der Waerden proved a conjecture of Pierre Baudet with the same flavour: however the whole numbers are split into finitely many classes, one class contains arithmetic progressions of every length. In both cases, splitting up a large enough structure cannot destroy all its regularity.

In 1930 Frank Ramsey proved the general principle for networks, as a lemma in a paper on logic. He died that January, aged twenty-six. His lemma was rediscovered five years later by Paul Erdős and George Szekeres, working on a question Esther Klein had raised about convex shapes among points in the plane. Erdős, who spent his life travelling from one collaborator to the next with a suitcase, made the subject his own.

Chapter II

How Many Edges?

In 1941 Pál Turán, conscripted into a Hungarian labour camp, asked how many connections a network can have without containing a given cluster, say four points all joined to each other. He found the exact answer and the unique best network: split the points into three groups as evenly as possible and join every pair from different groups. This was the start of extremal graph theory. Its central question, how many edges force a given pattern, has been asked of every kind of structure since.

Chapter III

A Closer Look: Six People at a Party

Among any six people, there are always three who all know each other or three who are all strangers. To see why, draw six points and join every pair with a red line (acquainted) or a blue line (strangers).

Pick one person, AA. Of the five lines from AA, at least three have the same colour, say red, going to BB, CC and DD. Now look at the three lines among BB, CC and DD. If any of them is red, it forms a red triangle with AA. If none is red, all three are blue, and BB, CC, DD form a blue triangle. Either way, a single-coloured triangle exists. So R(3,3)≤6R(3,3) \le 6.

Five people are not enough. Seat them round a table and let each person know only their two neighbours. The red lines form a pentagon and the blue lines form a five-pointed star, and neither contains a triangle. So R(3,3)=6R(3,3) = 6 exactly.

The next case is much harder. R(4,4)=18R(4,4) = 18, proved in 1955 with a clever colouring of 17 points built from the squares modulo 17. For five, the answer is between 43 and 46, and the full search is hopeless: 43 people have (432)=903\binom{43}{2} = 903 pairs, so 29032^{903} colourings. Ramsey theory can prove that the triangle is always there, but finding the exact threshold is beyond reach for groups barely larger than a dinner party.

Chapter IV

Progressions and Randomness

In 1936 Erdős and Turán conjectured that density alone forces arithmetic progressions: any set containing a fixed positive fraction of the whole numbers contains progressions of every length. Endre Szemerédi proved it in 1975, in a proof so intricate that his own diagram of its logical structure became famous. Its key tool, the regularity lemma, says that every large graph can be split into pieces between which it behaves almost randomly. Two years later Hillel Furstenberg found a completely different proof using ergodic theory, and a third proof came from Fourier analysis.

These methods then reached the primes. In 2004 Ben Green and Terence Tao proved that the primes contain arithmetic progressions of every length. And in 2023 Marcelo Campos, Simon Griffiths, Robert Morris and Julian Sahasrabudhe made the first exponential improvement in almost ninety years to the upper bound for Ramsey numbers. Lower bounds for R(k,k)R(k, k) have barely moved since 1947, because the best ones come from randomness, the subject of probabilistic combinatorics.

Applications

Where it is used

  • Number theory

    Progressions of primes

    The Green–Tao theorem, that the primes contain arithmetic progressions of every length, grew directly from Szemerédi's theorem. Extremal combinatorics has become one of the main tools of analytic number theory.

    › Sources (1)
    • Green, B. & Tao, T. (2008). The primes contain arbitrarily long arithmetic progressions. Annals of Mathematics 167(2): 481–547.
  • Information theory

    How much can a noisy channel send with zero errors?

    Shannon asked how much information a channel can carry with no chance of error. The answer is an extremal quantity of a graph whose edges join signals that can be confused. Lovász computed it for the five-cycle in 1979, finding 5\sqrt5.

    › Sources (1)
    • Lovász, L. (1979). On the Shannon capacity of a graph. IEEE Transactions on Information Theory 25(1): 1–7.

Open problems

Where the map runs out

Open

The value of R(5,5)

Open as of 2026; known to lie between 43 and 46 (upper bound 2024).

What is the smallest number of guests at a party that guarantees five mutual acquaintances or five mutual strangers? It is at least 43, since Geoffrey Exoo found a 42-person arrangement with neither, and at most 46.

Why it is hard

Checking all two-colourings of the connections among 43 people means considering 29032^{903} cases, far beyond any computer, so the bounds come from clever reductions and large computations. No general formula for Ramsey numbers is known, and the gap between the best upper and lower bounds is exponential.

What resolving it unlocks

Little in practical terms. Its value lies in what it shows about the limits of both proof and computation. Erdős said that if aliens demanded R(5,5)R(5,5) on pain of war, humanity should put all its computers and mathematicians to work. If they asked for R(6,6)R(6,6), we should try to destroy the aliens.

› Sources (2)

Open

The happy ending conjecture

Open as of 2026; proved for hexagons in 2006 and nearly proved asymptotically in 2017.

Erdős and Szekeres conjectured that 2n−2+12^{n-2} + 1 points in the plane, no three in a line, always contain a convex nn-gon, and showed that 2n−22^{n-2} points need not. It is known for nn up to 6.

Why it is hard

The case n=6n = 6, 17 points, needed a large computer search. Andrew Suk proved in 2017 that 2n+o(n)2^{n + o(n)} points suffice, which matches the conjecture up to lower order terms, but closing the remaining gap needs new ideas.

What resolving it unlocks

An exact answer to the problem that brought Ramsey theory to the attention of mathematicians, and tools for the many geometric problems it resembles.

› Sources (1)
  • Suk, A. (2017). On the Erdős–Szekeres convex polygon problem. Journal of the American Mathematical Society 30(4): 1047–1053.

Further reading

  1. Graham, R. L., Rothschild, B. L. & Spencer, J. H. (1990). Ramsey Theory (2nd ed.). Wiley.

    The standard account of Ramsey theory.

  2. Soifer, A. (2009). The Mathematical Coloring Book. Springer.

    A history of colouring problems, full of stories about the people involved.

  3. Bollobás, B. (1978). Extremal Graph Theory. Academic Press.

    The classic monograph, by a student of Erdős.