Image: David Eppstein at English Wikipedia, public domainWhy nobody knows R(5,5)
Among any six people, three know each other or three are mutual strangers. Among five that can fail: seat five people around a table so that each knows only the two beside them, and there is no trio of acquaintances and no trio of strangers. So the smallest party that forces a trio of one kind is six, and mathematicians write R(3,3) = 6. The same question for quartets has the answer R(4,4) = 18, settled in 1955. The question for quintets, R(5,5), has been open since the 1930s. Everything known about it fits in one line: R(5,5) is 43, 44, 45, or 46.
What the number means
Draw n points and join every pair by a line, so that there are n(n-1)/2 lines in all. Colour each line red (the two people know each other) or blue (they do not). A red K5 is a set of five points whose ten connecting lines are all red; a blue K5 is the same in blue. R(5,5) is the smallest n such that every colouring of the lines, however cunning, contains a red K5 or a blue K5. Ramsey's theorem of 1930 says that such an n exists for every size of clique. It does not say what n is, and for quintets the theorem's own proof gives only the bound R(5,5) at most 70, from the binomial coefficient of Erdős and Szekeres (1935). The Graph Theory Masterclass proves that bound in Unit 13.
Two facts have to be established to pin the number down. A lower bound needs one colouring: a way to colour the lines among n points with no red K5 and no blue K5, which shows R(5,5) is larger than n. An upper bound needs a proof that every colouring of n points fails, which shows R(5,5) is at most n. The two kinds of evidence are completely different in cost.
The lower bound of 43
In 1989 Geoffrey Exoo published a colouring of the lines among 42 points with no monochromatic K5. His paper in the Journal of Graph Theory is two pages long, because a colouring needs only to be written down and checked: 861 lines, each red or blue, and a computer verifies in a moment that none of the 850,668 five-point subsets is all one colour. So R(5,5) is at least 43. Exoo found the colouring by a computer search that started from an algebraic pattern and improved it step by step, and nobody has found a colouring of 43 points since.
There is a reason to think none exists. In 1997 McKay, Radziszowski, and Exoo generated every colouring of 42 points without a monochromatic K5 that satisfies certain structural constraints and found exactly 656 of them, by two independent routes. None of the 656 extends to 43 points. That is strong evidence that R(5,5) = 43, and it is still not a proof, because the constraints were assumptions.
The upper bound of 46
The upper bound has come down in steps. The recursion of Erdős and Szekeres gives 70; refinements brought it into the fifties in the 1960s and 1970s, and McKay and Radziszowski proved 49 in 1997. In 2018 Vigleik Angeltveit and Brendan McKay proved R(5,5) at most 48, and in 2024 they proved R(5,5) at most 46, in a paper that appeared on the arXiv in September 2024 and in the Journal of Graph Theory in 2026. The arXiv version is free to read.
An upper bound proof cannot check every colouring. The number of colourings of the lines among 46 points is 2 to the power 1035, and even for 43 points it is 2 to the power 903, a number with 272 digits. No computer that will ever be built can enumerate them. What Angeltveit and McKay do instead is reason about the structure such a colouring would be forced to have. Look at one point of a hypothetical colouring of 46 points with no monochromatic K5. Its 45 lines split into red and blue, so one colour has at least 23 lines. The 23 points at the far ends of those lines must then carry a colouring with no red K4 and no blue K5 (or the other way round), and such colourings are known completely for 24 points and fewer: they were catalogued when R(4,5) = 25 was proved in 1995. The 2024 proof combines counting constraints on how these pieces can fit together, solved as linear programs, with a case analysis by computer of the configurations the constraints allow. Every computation was implemented independently by both authors, and both implementations agree that nothing survives.
Each step down costs far more than the last, because the number of partial colourings to glue grows explosively. The authors say in the paper that the method, pushed further, would need resources that are not available. R(5,5) = 43 would need either a new idea or an unreasonable amount of computer time.
Why a computer cannot simply search
People who meet the problem for the first time ask why a search is so hard when the numbers are so small. The numbers are small; the search space is not. Checking one colouring of 43 points for a monochromatic K5 takes about a million operations. Checking all of them takes 2 to the power 903 times that. If every atom in the observable universe were a computer checking a trillion colourings per second since the Big Bang, the fraction of colourings examined would still be a decimal point followed by about 160 zeros. Every proof of an upper bound has to replace enumeration by argument, and every argument so far runs out of strength at 46.
Symmetry does not save the day either. Colourings that differ only by relabelling the points count as the same, which divides the number of cases by at most 43 factorial, a number with 53 digits. Dividing a 272-digit number by a 53-digit number leaves a 219-digit number.
The alien story, with its source
Paul Erdős liked to illustrate the gap between R(5,5) and R(6,6) with a story. Joel Spencer tells it in Ten Lectures on the Probabilistic Method (1994), and Ronald Graham and Spencer told it in Scientific American in July 1990. A vastly more powerful alien force lands and demands the value of R(5,5) within a year, or Earth will be destroyed. In that case, Erdős said, we should marshal all our computers and all our mathematicians and try to find the value. If instead they demand R(6,6), we should try to destroy the aliens. R(6,6) is known only to lie between 102 and a bound above 160; the lower bound has not moved since 1965, and a gap of sixty is a different order of difficulty from a gap of three.
What the masterclass makes of it
Unit 13 of the masterclass proves R(3,3) = 6 and R(4,4) = 18, reads the table of known values from Radziszowski's dynamic survey, and describes the gluing method of the 2024 paper in its research spotlight. Unit 14 shows why lower bounds for large cliques come from random colourings and not from clever constructions, and Unit 16 follows the upper bound for general k from 4 to the power k in 1935 to 3.8 to the power k in 2024. The dynamic survey in the Electronic Journal of Combinatorics, revised since 1994, is the place to check whether the sentence at the top of this post is still true.


