Problem 3
Source: 21-st Iberoamerican Mathematical Olympiad
May 6, 2007
analytic geometrycombinatorics unsolvedcombinatorics
Problem Statement
The numbers are written in the squares of an board in some order. Initially there is a token on the square labelled with In each step, the token can be moved to any adjacent square (by side). At the beginning, the token is moved to the square labelled with the number along a path with the minimum number of steps. Then it is moved to the square labelled with then to square etc, always taking the shortest path, until it returns to the initial square. If the total trip takes steps, find the smallest and greatest possible values of