2024 AIME I Problem 6

Below is the professionally curated solution for Problem 6 of the 2024 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2024 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:lattice pathspartitions and compositions

Difficulty rating: 2340

6.

Consider the paths of length 1616 that follow the lines from the lower left corner to the upper right corner on an 8×88 \times 8 grid. Find the number of such paths that change direction exactly four times, as in the examples shown below.

Solution:

A path that changes direction exactly four times consists of five maximal straight runs, alternating between rightward and upward moves. If the first run is rightward, the pattern is R,U,R,U,R:R, U, R, U, R: three rightward runs with positive lengths summing to 8,8, and two upward runs with positive lengths summing to 8.8. The counts of such compositions are (72)=21\binom{7}{2} = 21 and (71)=7,\binom{7}{1} = 7, giving 217=14721 \cdot 7 = 147 paths.

Paths starting upward are counted symmetrically, another 147.147. The total is 147+147=294.147 + 147 = 294.

← Problem 5Full ExamProblem 7

Problem 6 in Other Years