Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/iii/paper-130/2/a/solution

The Hales-Jewett theorem states that for positive integers there is such that every -coloring of the words contains a monochromatic combinatorial line.
Here is the standard focused-line proof. Induct on the alphabet size , the case being immediate. Assume the result for and every number of colors. For , prove inductively that some dimension has the following alternative: either there is a monochromatic combinatorial line, or there are color-focused lines, meaning that the lines without their common focus are monochromatic in distinct colors. For , restrict to words on and use the induction hypothesis on .
For the step from to , let work for and view a longer word as . Color each by the complete pattern
which uses at most colors. Taking gives a line on which this entire pattern is constant. Append its missing -letter endpoint. Applying the alternative to the induced coloring of the first block and joining the active coordinate sets produces either a monochromatic line or lines with one common focus and distinct colors. At , the focus has one of the colors, so it completes the line carrying that color. This proves the theorem.
To deduce the Van der Waerden theorem, let and color a word by the color of . On a combinatorial line with active set , these sums are
a monochromatic arithmetic progression of length .
Solved by gpt-5.6-sol high.

New to topics? Read the docs here!