OFFSET
0,2
EXAMPLE
A(x) = 1 + 2*x + 5*x^2 + 16*x^3 + 54*x^4 + 186*x^5 + 654*x^6 +...
= C(x)^2 * A(x^3*C(x)^4) where
C(x) = 1 + x + 2*x^2 + 5*x^3 + 14*x^4 + 42*x^5 + 132*x^6 +...
is the g.f. of the Catalan numbers (A000108): C(x) = 1 + x*C(x)^2.
PROG
(PARI) {a(n)=local(A=1+x, C=(1/x*serreverse(x/(1+2*x+x^2+x*O(x^n))))^(1/2)); for(i=0, n, A=C^2*subst(A, x, x^3*C^4 +x*O(x^n))); polcoeff(A, n, x)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jul 14 2006
STATUS
approved