{ "problem": "On a table of size $3002\\times3001$, a stone is placed on the leftmost cell of the first row. James and Peter play a game on this table. Peter selects $3000$ cells, under the rule that he must choose one from each row except the first and last rows (i.e., the $1$st and $3002$th row), and there must be at most one selected cell in each column. James knows this rule too, but he doesn't know which cells Peter selected. The goal of James is to move the stone to the last row, avoiding the cells selected by Peter. The stone can only move to adjacent cells on the table. If the stone enters a cell selected by Peter, James receives a penalty of 1 point, and the stone returns to its initial position (i.e., the leftmost cell). Find the smallest positive integer $n$ such that there exists a method for James to achieve his goal before receiving a penalty of $n$ points.", "solution": "First we demonstrate that there is no winning strategy if James has\n 2 attempts.\n\n\n Suppose that $(2,i)$ is the first cell in the second row that James\n reaches on his first attempt. Peter could have selected this cell,\n in which case James receives a penalty and returns to the initial\n position, and he cannot have reached any other cells past the first\n row.\n\n\n Next, suppose that $(3,j)$ is the first cell in the third row that\n James reaches on his second attempt. James must have moved to this\n cell from $(2,j)$, so we know $j\\neq i$. So it is possible that\n Peter selected the cell $(3,j)$, in which case James also receives\n a penalty and returns to the initial position on his second attempt.\n Therefore James cannot guarantee to reach the last row in 2 attempts.\n\n\n Next, we exhibit a strategy for $n=3$. On the first attempt, James\n travels along the path\n\n \\[\n (1,1)\\rightarrow(2,1)\\rightarrow(2,2)\\rightarrow\\cdots\\rightarrow(2,3001).\n \\]\n\n This path meets every cell in the second row, so James will find the\n selected cell in row 2, receive a penalty, and return to the initial\n position.\n\n\n If the selected cell in the second row is not on the edge of the board\n (that is, it is in cell $(2,i)$ with $2\\leq i\\leq3000$ ), then James\n takes the following two paths in his second and third attempts:\n\n \\[\n \\begin{aligned} & (1,1)\\rightarrow\\dots\\rightarrow(1,i-1)\\rightarrow(2,i-1)\\rightarrow(3,i-1)\\rightarrow(3,i)\\rightarrow(4,i)\\rightarrow\\cdots\\rightarrow(3002,i).\n\n & (1,1)\\rightarrow\\dots\\rightarrow(1,i+1)\\rightarrow(2,i+1)\\rightarrow(3,i+1)\\rightarrow(3,i)\\rightarrow(4,i)\\rightarrow\\cdots\\rightarrow(3002,i).\n \\end{aligned}\n \\]\n\n The only cells that Peter might have selected in either of these paths\n are $(3,i-1)$ and $(3,i+1)$. At most one of these can have been\n selected by Peter, so at least one of the two paths will be successful.\n James starts each path from the initial position $(1,1)$, but he\n knows where the selected cell in row 2 is, so he can navigate to $(1,i-1)$\n or $(1,i+1)$ directly.\n\n\n If the selected cell in the second row is on the edge of the board,\n without loss of generality we may assume it is in $(2,1)$. Then,\n on the second attempt, James takes the following path:\n\n \\[\n (1,1)\\rightarrow(1,2)\\rightarrow(2,2)\\rightarrow(2,3)\\rightarrow(3,3)\\rightarrow\\cdots\\rightarrow(3000,3001)\\rightarrow(3001,3001)\\rightarrow(3002,3001).\n \\]\n\n If none of the cells on this path were selected by Peter, then James\n wins. Otherwise, let $(i,j)$ be the first cell on which James encounters\n a selected cell. We have that $j=i$ or $j=i+1$. Then, on the third\n attempt, James takes the following path:\n\n \\[\n \\begin{aligned}(1,1)\\rightarrow\\dots\\rightarrow(1,2) & \\rightarrow(2,2)\\rightarrow(2,3)\\rightarrow(3,3)\\rightarrow\\cdots\\rightarrow(i-2,i-1)\\rightarrow(i-1,i-1)\n\n & \\rightarrow(i,i-1)\\rightarrow(i,i-2)\\rightarrow\\cdots\\rightarrow(i,2)\\rightarrow(i,1)\n\n & \\rightarrow(i+1,1)\\rightarrow\\cdots\\rightarrow(3001,1)\\rightarrow(3002,1).\n \\end{aligned}\n \\]\n\n Now note that:\n \\begin{itemize}\n \\item The cells from $(1,2)$ to $(i-1,i-1)$ were not selected because\n they were reached earlier than $(i,j)$ on the previous attempt.\n \\item The cells $(i,k)$ for $1\\leq k\\leq i-1$ were not selected because\n there is only one selected cell in row $i$, and it lies in $(i,i)$\n or $(i,i+1)$.\n \\item The cells $(k,1)$ for $i\\leq k\\leq3002$ were not selected because\n Peter selected at most one cell in column 1 (since there is one selected\n cell per row from 2 to 3001), and it lies in $(2,1)$.\n \\end{itemize}\n Therefore James will win on the third attempt. Therefore, the smallest\n positive integer $n$ is $3$.", "grading_guidelines": "(Partial)\n 1. Proved that the answer is at least $3$.\n 2. Solved the case where the stone in the second row is not on the edge.\n(Almost)\n 1. Solved the case where the stone in the second row is on the edge.\n 2. Solution is almost complete, but made minor mistakes which are not negligible.", "problem_id": "PB-Advanced-023", "level": "advanced", "category": "Combinatorics", "source": "(Modified) IMO 2024 P5", "max_score": 7, "difficulty": "IMO-medium", "short_answer": "3" }