Catalan Numbers
Details
The nth Catalan number can be expressed as C(n) = binomial(2n,n)/(n+1).
They are unrelated to Catalan’s Constant except by name.
Print the first 100 Catalan numbers, from C(0) to C(99) inclusive, each on their own line.
Note: C(99) is 57 digits long, and is greater than 2187.
0 bytes, 0 chars
Restore solutionCompiled from
AT&T syntax to x86-64 Linux. Use
syscalls to write output.
Arturo is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
Fennel is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
Uiua is an experimental language, no solutions will be saved.
Please leave feedback on the
GitHub issue.
ctrl + enter or