Catalan numbers: Difference between revisions
→{{header|EasyLang}}
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
|||
Line 1,466:
See [https://www.rosettacode.org/wiki/Catalan_numbers#Pascal Pascal].
=={{header|EasyLang}}==
<syntaxhighlight lang="text">
func catalan n . ans .
if n = 0
ans = 1
Line 1,474 ⟶ 1,475:
.
.
for i
call catalan i h
print h
.
{{out}}
<pre>
Line 1,496 ⟶ 1,498:
2674440
</pre>
=={{header|EchoLisp}}==
{{incorrect|Echolisp|series starts 1, 1, 2, ...}}
|