Four roads run east–west and four run north–south, forming a grid of intersections. A person starts at the north-west corner and walks to the south-east corner , at each intersection choosing only to go east or south. How many different routes from to are there?
Count the moves each route must make. With roads in each direction there are blocks in each direction, so every route consists of exactly
for a total of moves — and this is the same for every route, which is what makes the count a pure combinatorial one.
Turn a route into a word. A route is completely described by the order of its moves, i.e. by a string of letters, three E's and three S's, such as . Different strings give different routes and every route gives a string, so counting routes = counting strings.
Choose the positions of the east moves. Once you decide which of the positions carry an E, the S's fill the rest. The number of ways is
Evaluate the binomial coefficient.
Cross-check with Pascal's triangle on the grid. Label each intersection with the number of routes reaching it from : the top row and left column are all , and every other node is the sum of the node above and the node to its left. This builds the rows / / / — and the corner carries ✓, matching the binomial count.
Need to solve a different problem like this? Open the solver →