omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / catalan-numbers / expected.txt
| 1 | n, 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): |
| 2 | C(0) = 1 by the recurrence, 1 by the convolution sum |
| 3 | C(1) = 1 by the recurrence, 1 by the convolution sum |
| 4 | C(2) = 2 by the recurrence, 2 by the convolution sum |
| 5 | C(3) = 5 by the recurrence, 5 by the convolution sum |
| 6 | C(4) = 14 by the recurrence, 14 by the convolution sum |
| 7 | C(5) = 42 by the recurrence, 42 by the convolution sum |
| 8 | C(6) = 132 by the recurrence, 132 by the convolution sum |
| 9 | C(7) = 429 by the recurrence, 429 by the convolution sum |
| 10 | C(8) = 1430 by the recurrence, 1430 by the convolution sum |
| 11 | C(9) = 4862 by the recurrence, 4862 by the convolution sum |
| 12 | C(10) = 16796 by the recurrence, 16796 by the convolution sum |
| 13 | C(11) = 58786 by the recurrence, 58786 by the convolution sum |
| 14 | C(12) = 208012 by the recurrence, 208012 by the convolution sum |
| 15 | C(13) = 742900 by the recurrence, 742900 by the convolution sum |
| 16 | C(14) = 2674440 by the recurrence, 2674440 by the convolution sum |