MathDB
Paths on a checkerboard

Source: Cono Sur 2004 #6

November 18, 2015
combinatorial geometrycombinatoricscono sur

Problem Statement

Let mm, nn be positive integers. On an m×nm\times{n} checkerboard, divided into 1×11\times1 squares, we consider all paths that go from upper right vertex to the lower left vertex, travelling exclusively on the grid lines by going down or to the left. We define the area of a path as the number of squares on the checkerboard that are below this path. Let pp be a prime such that rp(m)+rp(n)pr_{p}(m)+r_{p}(n)\geq{p}, where rp(m)r_{p}(m) denotes the remainder when mm is divided by pp and rp(n)r_{p}(n) denotes the remainder when nn is divided by pp. How many paths have an area that is a multiple of pp?