MathDB
Colorful paths on a board

Source: Kvant Magazine No. 6 2020 M2609

March 9, 2023
combinatoricsboardKvant

Problem Statement

All cells of an n×nn\times n table are painted in several colors so that there is no monochromatic 2×22\times2 square. A sequence of different cells a1,a2,,aka_1,a_2,\ldots,a_k is called a colorful if any two consecutive cells are adjacent and are painted in different colors. What is the largest kk{} for which there is a colorful sequence of length kk{} regardless of the coloring of the cells of the table?
Proposed by N. Belukhov