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, ..., 28 with 2 colours (numbered 0..1) so that there is no monochromatic arithmetic progression of length 4: no a = 1, d = 1 with a + 3 d <= 28 such that a, a+d, ..., a+3 d all…

The task

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

Part of amphora/MathConstructOptimize-Envs-harbor.