0
Same-color arithmetic progressions code-golf
Van der Waerden's theorem says that
For any given positive integers r and k, there is some number N such
that if the integers {1, 2, ..., N} are colored, each with one of r
different colors, then there are at least k integers in arithmetic
p...