Catalan numbers: Difference between revisions

m
m (added bigatom handling)
Line 2,384:
 
function catalan2bc(integer n) -- very fast!
object r -- result (a bigatom)
if n<=0 then return BA_ONE end if
if n<=length(c2cache) then
7,820

edits