Roadworks on the Grid
A city's streets form a perfect grid: 5 streets running vertically and 4 running horizontally, giving 5 × 4 = 20 intersections. We number the vertical streets from 0 to 4 (left to right) and the horizontal ones from 0 to 3 (bottom to top). An intersection is named by the pair (vertical, horizontal), so the bottom-left corner is (0, 0) and the top-right corner is (4, 3).
Elena wants to walk from (0, 0) to (4, 3), keeping to the streets and moving one block at a time, either to the right or upward, never left and never down. But today there are roadworks, and the intersection at (2, 1) is closed: she cannot pass through it.
How many different routes can Elena take?
See solution
There are 17 different routes.
For each intersection, write down how many paths lead to it: it is the sum of the paths arriving from the intersection on its left and the one below it, and the closed intersection counts as 0. Row 0 (bottom): 1, 1, 1, 1, 1. Row 1: 1, 2, 0 (closed), 1, 2. Row 2: 1, 3, 3, 4, 6. Row 3 (top): 1, 4, 7, 11, 17. The last number, at intersection (4, 3), is 17.
We can check this another way: without the roadworks there would be 35 routes (each has 7 steps, so choose which 3 go upward: 35). Those passing through (2, 1) number 3 (to reach it: 2 steps right and 1 up, in any order) × 6 (to go from there to (4, 3): 2 right and 2 up) = 18. So 35 − 18 = 17.