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.
Put , and consider any coloring of . Choose a vertex . Among its neighbors, either at least are joined to it by red edges, or at least by blue edges.
In the red case, the induced complete graph on those neighbors contains either a red , which joins with to make a red , or a blue . The blue case similarly gives a red or a blue which extends with to a blue . Hence every coloring has the required configuration, andThis is the Ramsey number recursion.