2026-05-05

Problem — 2026-05-05

Medium

MediumCombinatorics

How many lattice paths are there from (0,0)(0,0) to (5,5)(5,5) using only unit steps right (+1,0)(+1,0) and up (0,+1)(0,+1) that never go strictly above the diagonal y=xy = x?

Enter an integer

Show solution
These are the Dyck paths, counted by the nn-th Catalan number Cn=1n+1(2nn)C_n = \frac{1}{n+1}\binom{2n}{n}. For n=5n = 5: C5=16(105)=2526=42C_5 = \frac{1}{6}\binom{10}{5} = \frac{252}{6} = 42.