MathDB
Snakes in an 8 x 8 chessboard

Source: 2023 Israel TST Test 2 P2

March 23, 2023
TSTcombinatoricsColoring

Problem Statement

In an 8×88 \times 8 grid of squares, each square was colored black or white so that no 2×22\times 2 square has all its squares in the same color. A sequence of distinct squares x1,,xmx_1,\dots, x_m is called a snake of length mm if for each 1i<m1\leq i <m the squares xi,xi+1x_i, x_{i+1} are adjacent and are of different colors. What is the maximum mm for which there must exist a snake of length mm?