Catalan numbers: Difference between revisions
Content added Content deleted
m (→{{header|Lua}}: Minor tidying) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 5,443: | Line 5,443: | ||
CatalanNumber(15:9694845) |
CatalanNumber(15:9694845) |
||
It took 0.8 to execute</pre> |
It took 0.8 to execute</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|Go}} |
{{trans|Go}} |
||
<syntaxhighlight lang="vlang">import math.big |
<syntaxhighlight lang="v (vlang)">import math.big |
||
fn main() { |
fn main() { |
||
Line 5,474: | Line 5,474: | ||
2674440 |
2674440 |
||
</pre> |
</pre> |
||
=={{header|Wortel}}== |
=={{header|Wortel}}== |
||
<syntaxhighlight lang="wortel">; the following number expression calculcates the nth Catalan number |
<syntaxhighlight lang="wortel">; the following number expression calculcates the nth Catalan number |