DR.WANG Mathematics中文

2020 AMC 8 · Question 21

Counting & combinatorics · lattice paths · Pascal’s Triangle

Problem outline

Number the columns of an 88-by-88 checkerboard from 11 to 88, left to right. Start at the light square PP in column 66 of the bottom row and finish at the light square QQ in column 77 of the top row. At each step move one row up and one column left or right, staying on the board. How many paths of seven steps connect PP to QQ? Choices: A 2828, B 3030, C 3232, D 3333, E 3535.

Checkerboard with P in bottom column 6 and Q in top column 7.
Show answer and methods 2 methods

Answer

A. 2828 paths.

Method 1 Add path counts from the preceding row

Give the start count 11. For every square one row higher, add the counts from its two possible predecessors diagonally below. Off-board predecessors contribute zero. Record only positive counts, ordered left to right in each row.

After 1,2,3,4,5,61,2,3,4,5,6 moves the lists are respectively (1,1)(1,1), (1,2,1)(1,2,1), (1,3,3)(1,3,3), (1,4,6,3)(1,4,6,3), (1,5,10,9)(1,5,10,9) and (6,15,19,9)(6,15,19,9). The last list belongs to columns 2,4,6,82,4,6,8. The predecessors of column 77 are columns 66 and 88, so its count is 19+9=2819+9=28.

Method 2 Reflect paths that leave the board

On unrestricted columns the horizontal displacement must be +1+1, so choose three left moves among seven, giving (73)=35\binom73=35 paths. Three left moves from column 66 cannot reach the left edge of the board.

A path that exits must visit column 99. From its first visit to 99, interchange left and right for the remaining moves: the original endpoint 77 reflects to 1111. Conversely every unrestricted path from 66 to 1111 visits 99 and can be reflected back at its first visit. Such a path has six right moves and one left move, giving seven forbidden paths. The answer is 35−7=2835-7=28.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)