Problem

Source: 2024 Korea Summer Program Practice Test P4

Tags: combinatorics



Find all pairs of positive integers $(m,n)$ such that one can partition a $m\times n$ board with $1\times 2$ or $2\times 1$ dominoes and draw one of the diagonals on each of the dominos so that none of the diagonals share endpoints.