MathDB
Travelling on a nxn board

Source: European Mathematical Cup, 2015, Junior, P1

December 30, 2016
combinatoricsboardnumber theory

Problem Statement

We are given an n×nn \times n board. Rows are labeled with numbers 11 to nn downwards and columns are labeled with numbers 11 to nn from left to right. On each field we write the number x2+y2x^2 + y^2 where (x,y)(x, y) are its coordinates. We are given a figure and can initially place it on any field. In every step we can move the figure from one field to another if the other field has not already been visited and if at least one of the following conditions is satisfied: [*] the numbers in those 22 fields give the same remainders when divided by nn, [*] those fields are point reflected with respect to the center of the board.Can all the fields be visited in case: [*] n=4n = 4, [*] n=5n = 5?
Josip Pupić