HF RL Explorer

construct/mc van der waerden

construct/mc van der waerden: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). Colour the integers 1, 2, ..., 18 with 3 colours (numbered 0..2) so that there is no monochromatic arithmetic progression of length 3: no a = 1, d = 1 with a + 2 d <= 18 such that a, a+d, ..., a+2 d all…

The task

Colour the integers 1, 2, ..., 18 with 3 colours (numbered 0..2) so that there is no monochromatic arithmetic progression of length 3: no a >= 1, d >= 1 with a + 2*d <= 18 such that a, a+d, ..., a+2*d all have the same colour.

Part of amphora/MathConstructOptimize-Envs-harbor.