Exercise · ZW-CATALAN-NUMBER-006 · ★★☆ Intermediate
Compute \(C_4\) using the recurrence \(C_{n+1}=\sum_{k=0}^{n} C_k C_{n-k}\) with \(C_0=1\), \(C_1=1\), \(C_2=2\), \(C_3=5\).
Choose one option.
Show answer
- A. 14
Exercise · ZW-CATALAN-NUMBER-006 · ★★☆ Intermediate
Choose one option.
For \(n=3\) the sum is \(C_0C_3+C_1C_2+C_2C_1+C_3C_0=5+2+2+5=14\). The value 42 is \(C_5\), a common index shift.
The Catalan number \(C_n\) counts, among many other structures, the triangulations of a convex polygon with \(n+2\) sides and the Dyck paths of length \(2n\).