MathDB
colsed path along lattice points on a m x n grid of points

Source: 2013 Saudi Arabia IMO TST III p1

July 23, 2020
combinatoricslatticegrid

Problem Statement

Adel draws an m×nm \times n grid of dots on the coordinate plane, at the points of integer coordinates (a,b)(a,b) where 1am1 \le a \le m and 1bn1 \le b \le n. He proceeds to draw a closed path along kk of these dots, (a1,b1)(a_1, b_1),(a2,b2)(a_2,b_2),...,(ak,bk)(a_k,b_k), such that (ai,bi)(a_i,b_i) and (ai+1,bi+1)(a_{i+1}, b_{i+1}) (where (ak+1,bk+1)=(a1,b1)(a_{k+1}, b_{k+1}) = (a_1, b_1)) are 11 unit apart for each 1ik1 \le i \le k. Adel makes sure his path does not cross itself, that is, the kk dots are distinct. Find, with proof, the maximum possible value of kk in terms of mm and nn.