Skip to main content
OlympiadHQ

Browse · MathNet

Print

APMO

counting and probability

Problem

Consider a table, and identify the cell in row and column , , with the ordered pair . Let be an integer such that . A -knight is a piece that moves one cell vertically or horizontally and cells to the other direction; that is, it moves from to such that is either or . The -knight starts at cell , and performs several moves. A sequence of moves is a sequence of cells , , such that, for all , and the -knight can move from to . In this case, each cell is said to be reachable. For each , find , the number of reachable cells. Answer: L(k)=\left\{\right..
Solution
Cell is directly reachable from another cell if and only if or or or , that is, or or or (). Therefore the cells for which and are unreachable. Let be this set of unreachable cells in this square, namely the square of cells , . If condition () is valid for both and then one can move from to , if they are both in the table, with two moves: either or ; the same is true for . In the first case, move or . In the second case, move or . Hence if the table is colored in two colors like a chessboard, if , cells with the same color as are reachable. Moreover, if is even, every other move changes the color of the occupied cell, and all cells are potentially reachable; otherwise, only cells with the same color as can be visited. Therefore, if is even then the reachable cells consists of all cells except the center square defined by and , that is, ; if is odd, then only half of the cells are reachable: the ones with the same color as , and .
Final answer
L(k) = 100^2 - (2k - 100)^2 if k is even; L(k) = (100^2 - (2k - 100)^2) / 2 if k is odd.

Techniques

Invariants / monovariantsColoring schemes, extremal arguments