olymmath

APMO 2024 Problem 2

  • Paper
  • Answer

Consider a 100×100100 \times 100 table, and identify the cell in row aa and column b,1≤a,b≤100b, 1 \leq a, b \leq 100, with the ordered pair (a,b)(a, b). Let kk be an integer such that 51≤k≤9951 \leq k \leq 99. A kk-knight is a piece that moves one cell vertically or horizontally and kk cells to the other direction; that is, it moves from (a,b)(a, b) to (c,d)(c, d) such that (∣a−c∣,∣b−d∣)(|a-c|,|b-d|) is either (1,k)(1, k) or (k,1)(k, 1). The kk-knight starts at cell (1,1)(1,1), and performs several moves. A sequence of moves is a sequence of cells (x0,y0)=(1,1)\left(x_{0}, y_{0}\right)=(1,1), (x1,y1),(x2,y2),…,(xn,yn)\left(x_{1}, y_{1}\right),\left(x_{2}, y_{2}\right), \ldots,\left(x_{n}, y_{n}\right) such that, for all i=1,2,…,n,1≤xi,yi≤100i=1,2, \ldots, n, 1 \leq x_{i}, y_{i} \leq 100 and the kk-knight can move from (xi−1,yi−1)\left(x_{i-1}, y_{i-1}\right) to (xi,yi)\left(x_{i}, y_{i}\right). In this case, each cell (xi,yi)\left(x_{i}, y_{i}\right) is said to be reachable. For each kk, find L(k)L(k), the number of reachable cells.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

L(k)=\left{\begin{array}{ll}100^{2}-(2 k-100)^{2} & \text { if } k \text { is even } \ \frac{100^{2}-(2 k-100)^{2}}{2} & \text { if } k \text { is odd }\end{array}\right.}

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator apmo/2024/p2 · Tag T3Y9SCTXTW · Edit this page on GitHub · Keys: j next, k previous