interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / tasks / catalan-numbers / expected.txt

16 lines · 951 bytes Raw Blame History
1n, C(n) by C(n+1) = 2(2n+1)/(n+2) C(n), and again by C(n+1) = sum C(i) C(n-i):
2C(0) = 1 by the recurrence, 1 by the convolution sum
3C(1) = 1 by the recurrence, 1 by the convolution sum
4C(2) = 2 by the recurrence, 2 by the convolution sum
5C(3) = 5 by the recurrence, 5 by the convolution sum
6C(4) = 14 by the recurrence, 14 by the convolution sum
7C(5) = 42 by the recurrence, 42 by the convolution sum
8C(6) = 132 by the recurrence, 132 by the convolution sum
9C(7) = 429 by the recurrence, 429 by the convolution sum
10C(8) = 1430 by the recurrence, 1430 by the convolution sum
11C(9) = 4862 by the recurrence, 4862 by the convolution sum
12C(10) = 16796 by the recurrence, 16796 by the convolution sum
13C(11) = 58786 by the recurrence, 58786 by the convolution sum
14C(12) = 208012 by the recurrence, 208012 by the convolution sum
15C(13) = 742900 by the recurrence, 742900 by the convolution sum
16C(14) = 2674440 by the recurrence, 2674440 by the convolution sum