Maths Olympiad Prep

Library / /446 of 1394

, 2024

Combinatorics Difficulty 5.1 AIME, harder Find the answer United States

Problem:

Sally the snail sits on the 3×243 \times 24 lattice of points (i,j)(i, j) for all 1i31 \leq i \leq 3 and 1j241 \leq j \leq 24. She wants to visit every point in the lattice exactly once. In a move, Sally can move to a point in the lattice exactly one unit away. Given that Sally starts at (2,1)(2,1), compute the number of possible paths Sally can take.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solutions — 2

Solution 1

Solution:

On her first turn, Sally cannot continue moving down the middle row. She must turn either to the bottom row or the top row. WLOG, she turns to the top row, and enters the cell (3,1)(3,1) and we will multiply by 2 later. Then, we can see that the path must finish in (1,1)(1,1). So, we will follow these two branches of the path, one for the start and one for the end. These branches must both move one unit up, and then one of the paths must move into the center row. Both branches move up one unit, and then the path in the middle row must go back to fill the corner. After this, we have exactly the same scenario as before, albeit with two fewer rows. So, for each additional two rows, we have a factor of two and thus there are 212=40962^{12}=4096 paths.

Solution 2

Solution:

We solve this problem for a general 3 by 2n2 n grid.
On her first turn, Sally cannot continue moving down the middle row. She must turn either to the topmost row or the bottommost row. WLOG, she turns to the top row.
Suppose Sally returns to the middle row kk times. There are kk "blocks". However, 2k2 k of the squares are already occupied by Sally's row shifts. Thus, we are solving
2(x1+x2+xk)=2(nk). 2\left(x_{1}+x_{2}+\ldots x_{k}\right)=2(n-k) .
There are
k=1n(nk+k1k1)=2n1 \sum_{k=1}^{n}\binom{n-k+k-1}{k-1}=2^{n-1}
solutions. We multiply by 2 to get 2n2^{n}.
For n=12n=12, this evaluates to 212=40962^{12}=4096.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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