MathDB
2020 PUMaC Individual Finals B1

Source:

January 1, 2022
combinatorics

Problem Statement

Find all pairs of natural numbers (n,k)(n, k) with the following property: Given a k×kk\times k array of cells, such that every cell contains one integer, there always exists a path from the left to the right edges such that the sum of the numbers on the path is a multiple of nn.
Note: A path from the left to the right edge is a sequence of cells of the array a1,a2,...,ama_1, a_2, ... , a_m so that a1a_1 is a cell of the leftmost column, ama_m is the cell of the rightmost column, and aia_{i}, ai+1a_{i+1} share an edge for all i=1,2,...,m1i = 1, 2, ... , m -1.