The Ramsey number is the smallest integer such that every red-blue colouring of the edges of has a red or a blue . Equivalently, every graph on vertices contains a clique of size or an independent set of size .
Set . For , let and fix a vertex in a red-blue colouring of . Among the remaining vertices, either at least are red neighbors of , or at least are blue neighbors. In the first case their induced colouring gives a red , which extends with to a red , or a blue . The second case is symmetric. This proves the Ramsey number recursionInduction on , using the boundary values and Pascal's identity, now gives the binomial upper bound for a Ramsey number:In particular this induction proves that the required Ramsey number exists.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 14I b Solution Created 2026-09-24 Updated 2026-10-06
Induction with Pascal's identity gives the binomial upper bound for a Ramsey number . Thus , proving .
For the lower bound, take a binomial random graph . The expected total number of -cliques and independent -sets isFor , this is at most for all sufficiently large . Some graph therefore has neither forbidden set, so . This proves by the probabilistic method.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 14I c Solution Created 2026-09-24 Updated 2026-10-06
The binomial upper bound for a Ramsey number gives . For the triangle-free Ramsey lower bound by alteration, a binomial random graph has expected triangle count and expected independent -set count . Choose a realization whose sum of these counts is at most its expectation. Delete one vertex from each surviving forbidden set, iterating through the originally listed sets. The remaining graph has neither a triangle nor an independent -set. This random alteration method provesFor large , set and . The triangle term is at most . Using and , the logarithm of the independent-set term divided by is at mostwhich tends to . That term is eventually below . Thus and
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 3 15H Solution Created 2026-09-24 Updated 2026-10-05
A graph Ramsey number is the least such that every red-blue edge colouring of the complete graph has a red or a blue . At a vertex in , either at least neighbours have red incident edges or at least have blue incident edges. In the first case find a red and adjoin the vertex, or a blue ; the second case is symmetric. ThusStarting with and , induction gives the binomial upper bound for a Ramsey numberFor the lower construction, partition vertices into two classes of size , colour inside-class edges red and between-class edges blue. Red cliques have at most vertices, and the blue graph is bipartite, so has no odd cycle.
Conversely, a graph without an odd cycle is bipartite: in each connected component colour vertices by the parity of the length of a path from a root; differing path parities would give an odd closed walk, hence an odd cycle. On vertices one of the two blue bipartition classes has at least vertices. Every edge within it is red, giving a red . Thus is the exact threshold for this alternative.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 17I Solution Created 2026-09-24 Updated 2026-10-03
The diagonal Ramsey number is the least positive integer such that every red-blue edge colouring of the complete graph contains a monochromatic copy of .
For the existence and bound, write for the least forcing either a red or a blue . Given a vertex of , the pigeonhole principle says that at least incident edges are red or at least are blue. In the first case those red neighbours contain a red , which joins to to make a red , or a blue ; the second case is symmetric. HenceStarting from and using Pascal's identity gives the binomial upper bound for a Ramsey numberThereforewhich proves both existence and the required estimate.
To determine , color a cycle graph red and its complement graph, also a , yellow. This colors without a monochromatic triangle, so . At any vertex of a red-yellow , at least three of the five incident edges have one color. If an edge among their three other endpoints has that color, it completes a monochromatic triangle with the chosen vertex; if none does, those three endpoints themselves form a triangle of the other color. Thus , and
The same local argument proves uniqueness on . No vertex can have three incident edges of one color: their other endpoints would either contain an edge of that color or form a triangle of the other color. Every vertex therefore has vertex degree at most two in each color, and because the two degrees sum to four, each is exactly two. Each color class is consequently a regular graph of degree two on five vertices, hence a single . Up to relabelling, the coloring is exactly the cycle-and-complement coloring above.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 132 2 b Solution Created 2026-09-24 Updated 2026-09-25
We use the Erdős-Rado selection argument. PutStarting with a sufficiently large reservoir, choose vertices in order. After choosing , successively halve the remaining reservoir for each so that the colour ofis constant as ranges over the final reservoir. The total number of halvings is at most , so initial vertices suffice.
Colour the pair , for , by the stabilized colour of for . Among , the definition of gives a monochromatic set of vertices. Adjoining gives a monochromatic -set for the original triple colouring. HenceThe binomial upper bound for a Ramsey number gives , so the right-hand side is at mostfor an absolute .
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 4 17F a Solution Created 2026-09-24 Updated 2026-10-03
The diagonal Ramsey number is the least positive integer such that every red-blue colouring of the edges of contains a monochromatic .
More generally, let be the least forcing either a red or a blue . We haveAssuming the two smaller numbers exist, colourand choose a vertex . At least of its incident edges are red, or at least are blue. In the first case, the corresponding neighbourhood contains a red , which extends with to a red , or a blue . The second case is symmetric. Thuswhich proves existence by induction.
Ramsey number 2026-10-14
For positive integers , the Ramsey number is the least integer such that every red-blue edge coloring of the complete graph contains either a red clique on vertices or a blue clique on vertices. The complete graph has all unordered pairs as edges; every edge gets exactly one color, with no requirement that incident edges have different colors. The definition and its graph interpretation appear in D. Yogeshwaran's Discrete Mathematics notes, section 5.3.
For example, asks how many vertices force a monochromatic triangle in a graph. Swapping colors gives . Also : either a red edge exists, or all edges are blue. On vertices, an all-blue coloring avoids both a red edge and a blue -clique. Under the convention that a one-vertex clique qualifies in either color, .
For , splitting the neighbors of one vertex by the colors of their incident edges givesIndeed, in a complete graph of the order on the right, at least neighbors are joined to that vertex by red edges, or at least are joined by blue edges. In the red case, the defining property of the smaller Ramsey number supplies either a blue -clique among the neighbors or a red -clique that extends by the chosen vertex; the blue case is symmetric. Starting from the one-vertex base cases, this recursively proves finite existence. The binomial upper bound for a Ramsey number packages the resulting estimate. [ref]
https://www.its.caltech.edu/~dconlon/RamseyLecture1.pdf. David Conlon's Graph Ramsey Theory notes, Lecture 1
present the neighbor argument and the sharp Ramsey number for triangles.Equivalently, every graph on at least vertices has an -clique or a -element independent set: color its edges red and the edges of its complement graph blue. This is the Ramsey theorem in graph theory. Larger monochromatic patterns have their own thresholds, such as a graph Ramsey number, matching Ramsey number or triangle-packing Ramsey number; these ask different questions from finding one clique.