Ramsey Number Calculator

R(s,t) = guaranteed cliques

CalculatorsFreeNo Signup
4.4(497 reviews)
All Tools

Loading tool...

About Ramsey Number Calculator

A Ramsey number explorer showing known values and bounds for R(s,t). Ramsey theory guarantees that sufficiently large structures must contain ordered substructures. Only a few exact values are known. Shows bounds and the diagonal problem. Client-side.

Ramsey Number Calculator Features

  • Known values
  • Bounds
  • Party problem
  • Diagonal
  • Table
Ramsey number R(s,t): minimum n so any 2-coloring of Kₙ edges contains a red Kₛ or blue Kₜ. R(3,3)=6 (party problem: among 6 people, 3 mutual friends or 3 mutual strangers exist). Very few exact values known: R(4,4)=18, R(4,5)=25. R(5,5) is unknown!

How to Use

Enter s and t:

  • R(s,t): Exact value if known
  • Bounds: Lower and upper
  • Table: Known values matrix

Party Problem

R(3,3)=6: at a party of 6, there must be 3 mutual friends or 3 mutual strangers. With 5 people, a counterexample exists (C₅ coloring). This is the simplest Ramsey result.

Why So Hard?

Erdős: 'Imagine aliens demand R(5,5) or they destroy Earth. We should marshal our computer resources. If they ask for R(6,6), we should prepare for war.' Even R(5,5) has bounds 43≤R(5,5)≤48. The gap shrinks slowly.

Step-by-Step Instructions

  1. 1Enter s and t.
  2. 2Look up R(s,t).
  3. 3Check bounds.
  4. 4View Ramsey table.
  5. 5Explore party problem.

Ramsey Number Calculator — Frequently Asked Questions

Why is R(5,5) so hard to find?+

The search space is astronomical: 2^C(n,2) colorings to check. For n=43 (lower bound): 2^903 ≈ 10^272 colorings. Even with symmetry reduction, this is far beyond computational reach. Mathematical bounds have barely improved in decades.

What's the party problem?+

Among any 6 people at a party, either 3 all know each other, or 3 are all strangers. This is R(3,3)=6. With only 5 people, it's possible that no such triple exists (arrange them in a pentagon of acquaintance).

Are there multicolor Ramsey numbers?+

Yes! R(s₁,s₂,...,sₖ) uses k colors. R(3,3,3)=17: among 17 people with 3-colored relationships, a monochromatic triangle exists. Even fewer multicolor values are known.

Share this tool: