OFFSET
0,3
COMMENTS
It is much faster to compute this sequence empirically with the given C-program than to calculate the terms with the formula in its present form.
LINKS
A. Karttunen, Gatomorphisms (with the complete Scheme source)
MAPLE
A057513 := proc(n) local i; `if`((0=n), 1, (1/A003418(n-1))*add(A079216bi(n, i), i=1..A003418(n-1))); end;
# Or empirically:
DeepRotatePermutationCycleCounts := proc(upto_n) local u, n, a, r, b; a := []; for n from 0 to upto_n do b := []; u := (binomial(2*n, n)/(n+1)); for r from 0 to u-1 do b := [op(b), 1+CatalanRank(n, DeepRotateL(CatalanUnrank(n, r)))]; od; a := [op(a), CountCycles(b)]; od; RETURN(a); end;
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Antti Karttunen Sep 03 2000. The formula, which is absolutely impractical in the present form, added Jan 03 2003.
STATUS
approved