Problem

Source: Mathematics Regional Olympiad of Mexico Southeast 2021 P4

Tags: combinatorics, board, Mexico



Hernan wants to paint a $8\times 8$ board such that every square is painted with blue or red. Also wants to every $3\times 3$ subsquare have exactly $a$ blue squares and every $2\times 4$ or $4\times 2$ rectangle have exactly $b$ blue squares. Find all couples $(a,b)$ such that Hernan can do the required.