# Van der Waerden's theorem

**Van der Waerden's theorem** is a result of [Ramsey theory](https://www.edgepedia.org/ramsey-theory) stating that for any numbers of colors and any desired progression length, a sufficiently long interval of integers, colored in any way, must contain a monochromatic arithmetic progression of that length. Stated rigorously: for any two natural numbers \( \ell \) and \( m \), some number \( N(\ell,m) \) exists with the property that whenever \( n \ge N(\ell,m) \) and the set \( \{1,2,\ldots,n\} \) is split into \( m \) parts, one of the parts must include \( \ell \) terms forming an arithmetic progression<sup>[1](https://encyclopediaofmath.org/wiki/Van_der_Waerden_theorem)</sup>. An equivalent infinitary form says that in any finite partition of the natural numbers, at least one class contains arithmetic progressions of arbitrary length<sup>[1](https://encyclopediaofmath.org/wiki/Van_der_Waerden_theorem)</sup>. The statement was conjectured by A. Baudet ([Pierre Joseph Henry Baudet](https://www.edgepedia.org/pierre-joseph-henry-baudet), 1891–1921) and proved by B. L. van der Waerden in 1927<sup>[1](https://encyclopediaofmath.org/wiki/Van_der_Waerden_theorem)</sup><sup> • </sup><sup>[2](https://mathworld.wolfram.com/vanderWaerdensTheorem.html)</sup>.

| Key fact | Detail |
|---|---|
| Statement | For any \( k, r \), there is an \( N \) such that every \( r \)-coloring of \( \{1,\ldots,N\} \) contains a monochromatic \( k \)-term arithmetic progression<sup>[3](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v18i1p64/pdf/)</sup> |
| Origin | Conjectured by Baudet; proved by B. L. van der Waerden, "Beweis einer Baudetschen Vermutung", *Nieuw Arch. Wisk.* 15, 212–216 (1927)<sup>[2](https://mathworld.wolfram.com/vanderWaerdensTheorem.html)</sup> |
| Van der Waerden number | \( W(k,r) \) is the least \( N \) with the property above; only seven non-trivial exact values are known<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup> |
| Largest exact value | \( W(3,4) = 293 \), established by Kouril in 2012<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup> |
| Best upper bound | Gowers: \( W(k,r) < 2^{2^{r^{2^{2^{k+9}}}}} \)<sup>[5](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)</sup> |
| Density strengthening | Szemerédi's theorem: every subset of the naturals with positive upper density contains arbitrarily long arithmetic progressions<sup>[6](https://londmathsoc.onlinelibrary.wiley.com/doi/full/10.1112/jlms.12987)</sup> |

## Statement and equivalent forms

An \( \ell \)-term arithmetic progression is a set of the form \( a, a+d, a+2d, \ldots, a+(\ell-1)d \) with common difference \( d \neq 0 \). A coloring is monochromatic on a set when all its elements receive the same color. The theorem is stated in several equivalent forms: the finite coloring form above; the infinitary form for partitions of \( \mathbb{N} \); a form for infinite sequences of integers with bounded gaps, which must contain arbitrarily long arithmetic progressions; and a form for finite sequences with gaps bounded by \( r \)<sup>[2](https://mathworld.wolfram.com/vanderWaerdensTheorem.html)</sup>. Survey literature also records versions for syndetic sets, piecewise syndetic sets, and their multiplicative analogs, together with topological-dynamical equivalents<sup>[7](https://arxiv.org/abs/2603.25922)</sup>.

The theorem belongs to Ramsey theory, the branch of mathematics studying structures that survive under arbitrary partitions<sup>[8](https://math.hmc.edu/funfacts/van-der-waerden-theorem/)</sup>. Its flavor is that total disorder in a coloring is impossible at scale: however the integers are colored, long same-colored progressions are unavoidable.

## History

The problem began as Baudet's conjecture: if the sequence \( 1, 2, 3, \ldots \) is divided into two classes, at least one class contains arithmetic progressions of any prescribed length \( \ell \), however large<sup>[9](https://opentext.uleth.ca/Ramsey/x3term.html)</sup>. Van der Waerden, then working in the circle around [Emmy Noether](https://www.edgepedia.org/emmy-noether), published the proof in 1927 under the title "Beweis einer Baudetschen Vermutung" (Proof of a conjecture of Baudet) in *Nieuw Archief voor Wiskunde*, volume 15, pages 212–216<sup>[2](https://mathworld.wolfram.com/vanderWaerdensTheorem.html)</sup>. The original motivation was the two-color case, from which the general theorem follows by proving the more general \( r \)-color statement<sup>[10](https://math.uchicago.edu/~may/REUDOCS/Steed.pdf)</sup>.

## The van der Waerden numbers

The **van der Waerden number** \( W(k,r) \) is the least \( N \) such that every \( r \)-coloring of \( \{1,\ldots,N\} \) contains a monochromatic \( k \)-term arithmetic progression<sup>[3](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v18i1p64/pdf/)</sup>. Determining these numbers is computationally hard: only seven non-trivial exact values are known<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup>:

- \( W(2,3) = 4 \) and \( W(2,4) = 35 \<sup>[9](https://opentext.uleth.ca/Ramsey/x3term.html)</sup>)
- \( W(3,3) = 27 \) (Chvátal, 1970)
- \( W(2,5) = 178 \) (Stevens and Shantaram, 1978)
- \( W(4,3) = 76 \) (Beeler and O'Neil, 1979)
- \( W(2,6) = 1132 \) (Kouril and Paul, 2008)
- \( W(3,4) = 293 \) (Kouril, 2012), the most recent exact value<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup>

Exact values are certified by exhaustive, typically SAT-based proofs: a lower bound is an explicit coloring checked against every progression in \( \{1,\ldots,N\} \), while an exact value ships a CNF generator plus an LRAT/DRAT unsatisfiability proof re-checked with tools such as cake_lpr or drat-trim<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup>. The remaining small open cases include \( W(2,7) > 3703 \), \( W(3,5) > 2173 \), \( W(4,4) > 1048 \), and \( W(5,3) > 170 \)<sup>[4](https://cairn-commons.com/problems/van-der-waerden-numbers)</sup>. Lower bounds have been pushed by structured constructions such as Rabung's method, which colors according to the discrete logarithm modulo a prime; one distributed computation applied about 2 teraflops over 12 months, roughly 500 CPU years on a 2 GHz core across the computers of 500 volunteers, checking primes exhaustively up to 950 million<sup>[5](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)</sup>.

## Bounds on the numbers

Van der Waerden's original proof was purely combinatorial and gave bounds that were, in the words of Graham, Rothschild, and Spencer, "EEEENORMOUS": formally, not primitive recursive<sup>[3](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v18i1p64/pdf/)</sup>. [Saharon Shelah](https://www.edgepedia.org/saharon-shelah), of Tel Aviv University and a leading figure in mathematical logic, later gave a purely combinatorial proof with primitive recursive bounds, showing in particular that \( W(k,r) \) lies no higher than the fifth class of the Grzegorczyk hierarchy<sup>[5](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)</sup>. The best known upper bound is due to [Timothy Gowers](https://www.edgepedia.org/timothy-gowers), then of the [University of Cambridge](https://www.edgepedia.org/university-of-cambridge) and a Fields medalist, who proved

\[ W(k,r) < 2^{2^{r^{2^{2^{k+9}}}}} \]

using substantial analytic machinery<sup>[5](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)</sup><sup> • </sup><sup>[3](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v18i1p64/pdf/)</sup>. On the lower-bound side, the available evidence suggests that \( W(k,r) \) grows roughly like \( r^k \)<sup>[5](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)</sup>. The gap between the known bounds remains wide: Ron Graham offered 1000 USD for a proof or disproof of \( w(k,k) < 2^{k^2} \), having earlier paid Shelah 500 USD and Gowers 1000 USD for their improvements to the upper bound<sup>[11](https://arxiv.org/abs/0706.4420)</sup>.

## Proof ideas

The standard proof uses a double induction built on the pigeonhole principle<sup>[8](https://math.hmc.edu/funfacts/van-der-waerden-theorem/)</sup>. One proves the statement for length \( \ell \) assuming it for \( \ell - 1 \), introducing **color-focused progressions**: families of \( (\ell-1) \)-term progressions of the same color whose next terms all land on a common focus point \( f \). If a coloring of a long interval produces enough such "spikes" focused at one point, the focus itself extends them to a monochromatic \( \ell \)-term progression; a block argument, coloring blocks of length \( 2M \) as units and applying the induction hypothesis to \( k^{2M} \) possible block colorings, forces either the desired progression or the required spikes<sup>[12](https://opentext.uleth.ca/Ramsey/sec_proof_vdW.html)</sup>. [Richard Swan](https://www.edgepedia.org/richard-swan) of the University of Chicago published a simplified version of this proof<sup>[13](https://www.math.uchicago.edu/~swan/expo/vdW.pdf)</sup>, and the proof has been formalized in the Archive of Formal Proofs for the Isabelle proof assistant<sup>[14](https://devel.isa-afp.org/entries/Van_der_Waerden.html)</sup>.

## Relation to Szemerédi's theorem and other results

While discussing van der Waerden's theorem, [Paul Erdős](https://www.edgepedia.org/paul-erdos) and [Pál Turán](https://www.edgepedia.org/pal-turan) conjectured that any set of natural numbers with positive upper asymptotic density contains arbitrarily long arithmetic progressions<sup>[1](https://encyclopediaofmath.org/wiki/Van_der_Waerden_theorem)</sup>. This is the density version of the theorem, and it was proved by [Endre Szemerédi](https://www.edgepedia.org/endre-szemeredi): every subset of \( \mathbb{N} \) with positive upper density contains arbitrarily long arithmetic progressions<sup>[6](https://londmathsoc.onlinelibrary.wiley.com/doi/full/10.1112/jlms.12987)</sup>. The implication from Szemerédi's theorem to van der Waerden's theorem is immediate, since in any \( r \)-coloring the densest color class has density at least \( 1/r \)<sup>[6](https://londmathsoc.onlinelibrary.wiley.com/doi/full/10.1112/jlms.12987)</sup>. Szemerédi's own combinatorial proof gave bounds of Ackermann type on the corresponding threshold \( N(\delta,k) \)<sup>[15](https://web.mit.edu/yufeiz/www/papers/szemeredi.pdf)</sup>.

[Hillel Furstenberg](https://www.edgepedia.org/hillel-furstenberg) of the [Hebrew University of Jerusalem](https://www.edgepedia.org/hebrew-university-of-jerusalem) gave an ergodic-theory proof of [Szemerédi's theorem](https://www.edgepedia.org/szemeredis-theorem) in 1977, opening a line of dynamical proofs of combinatorial results<sup>[16](https://people.math.sc.edu/laszlo/vanderW.pdf)</sup><sup> • </sup><sup>[17](https://www.sciencedirect.com/topics/mathematics/ergodic-theory)</sup>. The theorem also has an ultrafilter formulation: van der Waerden's theorem is equivalent to the existence of a single ultrafilter with special idempotence-like properties on the Stone–Čech compactification \( \beta\mathbb{N} \)<sup>[18](https://arxiv.org/abs/1206.0967)</sup>.

The theorem sits inside a family of Ramsey-theoretic results. The Hales–Jewett theorem, a cornerstone of Ramsey theory about colorings of words over finite alphabets, has the van der Waerden theorem and its multidimensional version (the Gallai theorem) among its corollaries; interpreting words over \( \{0,\ldots,q-1\} \) as base-\( q \) expansions turns a combinatorial line into a length-\( q \) arithmetic progression<sup>[19](https://encyclopediaofmath.org/wiki/Hales-Jewett_theorem)</sup>. The polynomial van der Waerden theorem generalizes the original: for any integral polynomials \( p_1, \ldots, p_m \) with no constant term, every finite coloring of \( \mathbb{N} \) contains \( a \) and \( d \) such that \( a \) and all \( a + p_i(d) \) share one color<sup>[20](https://www.sfu.ca/~vjungic/RamseyProjects/section-45.html)</sup>. The no-constant-term condition is necessary, as the coloring of integers by parity shows for \( p_1(x) = 2x \) and \( p_2(x) = 2x+1 \)<sup>[20](https://www.sfu.ca/~vjungic/RamseyProjects/section-45.html)</sup>.

## References

1. [Van der Waerden theorem, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Van_der_Waerden_theorem)
2. [van der Waerden's Theorem, Wolfram MathWorld](https://mathworld.wolfram.com/vanderWaerdensTheorem.html)
3. [Lower Bounds on the van der Waerden Numbers, Electronic Journal of Combinatorics 18 (2011), #P64](https://www.combinatorics.org/ojs/index.php/eljc/article/download/v18i1p64/pdf/)
4. [Small van der Waerden numbers, Cairn Commons](https://cairn-commons.com/problems/van-der-waerden-numbers)
5. [New lower bounds for Van der Waerden numbers using distributed computing, Journal of Combinatorial Mathematics and Combinatorial Computing, Volume 128](https://combinatorialpress.com/jcmcc-articles/volume-128/new-lower-bounds-for-van-der-waerden-numbers-using-distributed-computing/)
6. [Colouring versus density in integers and Hales–Jewett cubes, Journal of the London Mathematical Society (2024)](https://londmathsoc.onlinelibrary.wiley.com/doi/full/10.1112/jlms.12987)
7. [Van der Waerden's theorem on arithmetic progressions: a survey of some historical and modern developments, arXiv](https://arxiv.org/abs/2603.25922)
8. [Van der Waerden Theorem, Harvey Mudd Mathematics Fun Facts](https://math.hmc.edu/funfacts/van-der-waerden-theorem/)
9. [van der Waerden's Theorem: 3-term APs, University of Lethbridge open text](https://opentext.uleth.ca/Ramsey/x3term.html)
10. [Some Theorems and Applications of Ramsey Theory, University of Chicago REU](https://math.uchicago.edu/~may/REUDOCS/Steed.pdf)
11. [Bounds on Van der Waerden Numbers and Some Related Functions, arXiv:0706.4420](https://arxiv.org/abs/0706.4420)
12. [Proof of van der Waerden's Theorem, University of Lethbridge open text](https://opentext.uleth.ca/Ramsey/sec_proof_vdW.html)
13. [Richard G. Swan, Van der Waerden's Theorem on Arithmetic Progressions, University of Chicago](https://www.math.uchicago.edu/~swan/expo/vdW.pdf)
14. [Van der Waerden's Theorem, Archive of Formal Proofs](https://devel.isa-afp.org/entries/Van_der_Waerden.html)
15. [the proof of equivalence is almost identical to the one for van der waerden’s theorem.](https://web.mit.edu/yufeiz/www/papers/szemeredi.pdf)
16. [Erdős and Turán conjectured early on that van der Waerden's theorem has a density version, University of South Carolina](https://people.math.sc.edu/laszlo/vanderW.pdf)
17. [Ergodic Theory overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/ergodic-theory)
18. [Formulating Szemerédi's Theorem in Terms of Ultrafilters, arXiv:1206.0967](https://arxiv.org/abs/1206.0967)
19. [Hales–Jewett theorem, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Hales-Jewett_theorem)
20. [Polynomial van der Waerden Theorem, Simon Fraser University Ramsey Projects](https://www.sfu.ca/~vjungic/RamseyProjects/section-45.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: Physical world and mathematics › Mathematics and statistics › Logic and discrete mathematics › General discrete mathematics and discrete structures › Combinatorics › Extremal and additive combinatorics › Szemerédi-type theorems, arithmetic progressions and arithmetic Ramsey results

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/van-der-waerdens-theorem
