Mathwords logoMathwords

Schur's Theorem — Definition & Example

Schur's Theorem is a result in Ramsey theory. It says that if you color the whole numbers 1, 2, ..., N with a fixed number of colors and N is large enough, some single color must contain three numbers x, y, z with x + y = z.

For every positive integer rr there is a least integer NN such that every function c:{1,2,…,N}→{1,…,r}c : \{1, 2, \dots, N\} \to \{1, \dots, r\} admits x,y,zx, y, z (with x=yx = y allowed) satisfying x+y=zx + y = z and c(x)=c(y)=c(z)c(x) = c(y) = c(z). The largest nn for which some rr-coloring of {1,…,n}\{1, \dots, n\} avoids such a triple is the Schur number S(r)S(r), so the least such NN is S(r)+1S(r) + 1. Known values are S(1)=1S(1) = 1, S(2)=4S(2) = 4, S(3)=13S(3) = 13, S(4)=44S(4) = 44, and S(5)=160S(5) = 160.

Worked Example

Problem: Show that every way of coloring the numbers 1, 2, 3, 4, 5 red or blue produces a monochromatic solution to x + y = z. Then show that 1 through 4 can be colored without one, which confirms that S(2) = 4.
Step 1: Swapping the two colors changes nothing, so assume 1 is red. Because 1+1=21 + 1 = 2, the number 2 must be blue. Because 2+2=42 + 2 = 4, the number 4 must then be red.
1+1=2  ⇒  2 blue,2+2=4  ⇒  4 red1 + 1 = 2 \;\Rightarrow\; 2 \text{ blue}, \qquad 2 + 2 = 4 \;\Rightarrow\; 4 \text{ red}
Step 2: The numbers 1 and 4 are both red, and 1+3=41 + 3 = 4. So 3 cannot be red, which makes 3 blue.
1+3=4  ⇒  3 blue1 + 3 = 4 \;\Rightarrow\; 3 \text{ blue}
Step 3: Now look at 5. Red fails because 1+4=51 + 4 = 5 with 1 and 4 both red. Blue fails because 2+3=52 + 3 = 5 with 2 and 3 both blue. Every coloring of 1 through 5 is therefore forced to contain a monochromatic triple.
1+4=5 (red),2+3=5 (blue)1 + 4 = 5 \ (\text{red}), \qquad 2 + 3 = 5 \ (\text{blue})
Step 4: For 1 through 4, color {1,4}\{1, 4\} red and {2,3}\{2, 3\} blue. The red sums 1+11+1, 1+41+4, and 4+44+4 give 2, 5, and 8, and none of these is red. The blue sums 2+22+2, 2+32+3, and 3+33+3 give 4, 5, and 6, and none of these is blue.
{1,4} red,{2,3} blue\{1, 4\} \text{ red}, \quad \{2, 3\} \text{ blue}
Answer: Five numbers always force a single-color solution to x + y = z, while four numbers do not. So S(2) = 4, and N = 5 is the smallest size that works for two colors.

Why It Matters

Issai Schur proved this in 1916, more than a decade before Ramsey's 1930 paper, so it is one of the earliest Ramsey-type results. He used it to show that xn+yn≡zn(modp)x^n + y^n \equiv z^n \pmod{p} has nonzero solutions for every prime p that is large enough. That fact explains why you cannot prove Fermat's Last Theorem by working modulo a single prime. Computing Schur numbers is also a benchmark for SAT solvers: proving S(5) = 160 in 2017 took a large computer-assisted search.

Common Mistakes

Mistake: Requiring x and y to be different numbers, then getting answers that disagree with S(2) = 4.
Correction: The standard statement allows x = y, so triples like 2 + 2 = 4 count. If you require x ≠ y, you are studying weak Schur numbers instead. Those are larger: two colors can then avoid a solution all the way up to 8.

Related Terms

  • Theorem — The kind of proven statement Schur's result is
  • Ramsey Theory — Parent field; Schur's proof follows from Ramsey numbers
  • Combinatorics — Branch of math where coloring arguments like this live
  • Positive Integer — Kind of number being colored and summed in the theorem
  • Whole Numbers — The set of numbers colored in the statement