OctoInform Beta

OpenAI preprint, September 2026 · §1. Introduction · §1

The van der Waerden number: For rr available colors and progression length kk, Wr(k)W_r(k) is the least positive integer NN forcing a monochromatic progression in {0,…,N−1}\{0,\ldots,N-1\}

The van der Waerden number as a Ramsey threshold.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Take positive integers NN, rr, and kk, and color the integers {0,…,N−1}\{0,\ldots,N-1\} with rr available colors, allowing fewer than rr colors to be used. By van der Waerden’s theorem, every such coloring contains a monochromatic kk-term arithmetic progression of positive step once NN is large enough.

Monochromatic progressions

Let CC be a set of colors and let ℕ\mathbb{N} denote the nonnegative integers. For nonnegative integers kk, aa, and dd, a monochromatic kk-term arithmetic progression starting at aa with step dd under a coloring c:ℕ→Cc \colon \mathbb{N} \to C is an arithmetic progression with those parameters for which every integer jj with 0≤j<k0 \le j < k satisfies c(a+jd)=c(a)c(a + jd) = c(a).✦

A coloring c:ℕ→Cc \colon \mathbb{N} \to C into a set of colors CC contains a monochromatic kk-term progression in {0,…,N−1}\{0,\ldots,N-1\}, where kk and NN are nonnegative integers, if there exist integers a≥0a \ge 0 and d>0d > 0 with a+max⁡(k−1,0)d<Na + \max(k - 1, 0)d < N such that the kk-term arithmetic progression starting at aa with step dd is monochromatic under cc.✦

Ramsey interval sizes

An integer N≥0N \ge 0 is a Ramsey interval size for a nonnegative integer kk and a set of colors CC if every coloring c:ℕ→Cc \colon \mathbb{N} \to C contains a monochromatic kk-term progression in {0,…,N−1}\{0,\ldots,N-1\}.✦

The definition

Definition. For nonnegative integers rr and kk, the van der Waerden number Wr(k)W_r(k) is defined by Wr(k)=min⁡{N∈ℕ:N>0 and N is a Ramsey interval size for k and {0,…,r−1}}.W_r(k) = \min \{ N \in \mathbb{N} : N > 0 \text{ and } N \text{ is a Ramsey interval size for } k \text{ and } \{0,\ldots,r-1\} \}.(1)✦

In the paper, the result reads: for positive integers rr and kk, Wr(k)W_r(k) is the least positive integer NN such that every coloring of {1,…,N}\{1,\ldots,N\} with rr available colors, possibly using fewer than rr colors, is constant on some arithmetic progression a,a+d,…,a+(k−1)da, a+d, \ldots, a+(k-1)d with a,d≥1a, d \ge 1 and a+(k−1)d≤Na + (k-1)d \le N.

What is checked

The definition (1) is stated over nonnegative integers rr and kk, colorings c:ℕ→Cc \colon \mathbb{N} \to C (specialized to the rr-element set of colors {0,…,r−1}\{0,\ldots,r-1\}), monochromatic kk-term arithmetic progressions of positive step in {0,…,N−1}\{0,\ldots,N-1\}, and positive Ramsey interval sizes NN.