MathDB
2023 Putnam B1

Source:

December 3, 2023
PutnamPutnam 2023

Problem Statement

Consider an mm-by-nn grid of unit squares, indexed by (i,j)(i, j) with 1im1 \leq i \leq m and 1jn1 \leq j \leq n. There are (m1)(n1)(m-1)(n-1) coins, which are initially placed in the squares (i,j)(i, j) with 1im11 \leq i \leq m-1 and 1jn11 \leq j \leq n-1. If a coin occupies the square (i,j)(i, j) with im1i \leq m-1 and jn1j \leq n-1 and the squares (i+1,j),(i,j+1)(i+1, j),(i, j+1), and (i+1,j+1)(i+1, j+1) are unoccupied, then a legal move is to slide the coin from (i,j)(i, j) to (i+1,j+1)(i+1, j+1). How many distinct configurations of coins can be reached starting from the initial configuration by a (possibly empty) sequence of legal moves?