Problem 1
We are given a positive integer and a rectangular board divided into unit squares. A move from one square to another is permitted only when the distance between their centers is . Find a sequence of moves leading between two adjacent corners of the board that lie on the long side. (a) Show that this is impossible if is divisible by or . (b) Prove that it is possible for . (c) Can it be done for ?
Step 1 of 4: Encode a move
In plain words
Encode a move
Detailed analysis
Write the displacement of a move as after possibly interchanging the coordinates, so . Color the board as a chessboard and use square-center coordinates , ; the required endpoints are and .