Jump to content

Catalan numbers: Difference between revisions

m
m (→‎{{header|Factor}}: cull redundant output)
Line 1,334:
 
=={{header|EasyLang}}==
<lang>intvarsfunc catalan n . ans .
func catalan n . ans .
if n = 0
ans = 1
else
call catalan n - 1 h
ans = 2 * (2 * n - 1) * h /div (1 + n)
.
.
2,083

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.