Maths WorkshopMaths problems with full solutions
Exercise 1622Combinatorics › Counting principlesOlympiadAdded 3 Nov 2026

Lattice paths

#lattice paths#binomial coefficient#monotone paths

Statement

How many monotone paths (only right and up moves) are there from (0,0)(0,0) to (m,n)(m,n)?

Hint

The path has m+nm+n steps, mm of which are right.

Show solutionHide solution

Solution

Choose moves. Total steps: m+nm+n. Choose which mm are "right": (m+nm)=(m+nn)\binom{m+n}{m}=\binom{m+n}{n}.

Conclusion. There are (m+nm)\binom{m+n}{m} lattice paths.

Example. (0,0)(0,0) to (2,2)(2,2): (42)=6\binom{4}{2}=6 paths.