Exercise 1715Combinatorics › Inclusion-exclusionOlympiadAdded 3 Nov 2026
Inclusion-exclusion in ballot problems
#IE#ballot#paths
Statement
Using IE, count paths from to that stay strictly below the diagonal (i.e. paths where at every step, the number of right steps is strictly greater than the number of up steps except at the end).
Hint
This is related to Catalan numbers via reflection.
Show solutionHide solution
Solution
Setup. Number of paths from to : .
Bad paths. By reflection, paths crossing the diagonal correspond to paths from to .
Count. .
Conclusion. Number of such paths is the Catalan number .