Maths Olympiad Prep

Track / Stage 7 / 78 of 300 #1958 of 2444

Problem 1958

National Olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.1 Prove it Bay Area Mathematical Olympiad · United States

Hugo plays a game: he places a chess piece on the top left square of a 20×2020 \times 20 chessboard and makes 10 moves with it. On each of these 10 moves, he moves the piece either one square horizontally (left or right) or one square vertically (up or down). After the last move, he draws an X\mathrm{X} on the square that the piece occupies. When Hugo plays this game over and over again, what is the largest possible number of squares that could eventually be marked with an X? Prove that your answer is correct.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

Index each square by its row number and column number, starting with 00. For example, (0,0)(0,0) represents the top left square and (2,5)(2,5) represents the square in the third row down and the sixth column over. When the piece moves down or to the right, the sum of the indices of its square increases by 11, and when the piece moves up or to the left, this sum decreases by 11. Since it starts on a square with sum of indices 00, after 1010 moves it must lie on a square with sum of indices at most 1010. In addition, since each move changes the sum of indices from even to odd or from odd to even and the piece starts on a square with an even sum of indices, after an even number of moves the sum of indices must be even. Therefore, after 1010 moves, the piece lies on a square whose sum of indices is an even number 10\leq 10.

It is possible to reach any one of the squares with sum of indices an even number 10\leq 10 at the end of 1010 moves, since the piece can get to the square (i,j)(i, j) with i+j10i+j \leq 10 simply by moving ii squares down, then jj squares to the right. If i+j=10i+j=10, this uses up all 1010 moves; otherwise, the piece can waste the remaining 10ij10-i-j moves (which is an even number of moves since i+ji+j is even) simply by moving the piece down a square and then up a square until 1010 moves are reached.

We have shown that the squares that could be marked with an X\mathrm{X} are the squares of indices (i,j)(i, j) where i+ji+j is an even number 10\leq 10. Since the squares with i+j=ni+j=n form a diagonal of length n+1n+1 extending from the left side of the board to the top of the board, there are 1+3+5+7+9+11=361+3+5+7+9+11=36 such squares.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.