OFFSET
1,3
EXAMPLE
A(x) = x + x^2 - 10*x^3 + 160*x^4 - 3061*x^5 + 63775*x^6 +...
where A(A(A(A(A(A(A(A(A(A(A(A(x)))))))))))) =
x + 12*x^2 + 12*x^3 + 6*x^4 + 8*x^5 + 8*x^6 + 12*x^7 + 2*x^8 +...
is the g.f. of A112124.
PROG
(PARI) {a(n, m=12)=local(F=x+x^2+x*O(x^n), G); if(n<1, 0, for(k=3, n, G=F+x*O(x^k); for(i=1, m-1, G=subst(F, x, G)); F=F-((polcoeff(G, k)-1)\m)*x^k); return(polcoeff(F, n, x)))}
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Aug 27 2005
STATUS
approved