OFFSET
1,2
FORMULA
G.f.: A(x) = G(x)/(1 - G(x)) where
* G(x) = A(x)/(1 + A(x)) and
* G(x) = Series_Reversion(x - A(x)^2).
EXAMPLE
G.f.: A(x) = x + 2*x^2 + 9*x^3 + 64*x^4 + 574*x^5 + 5919*x^6 +...
Related expansions.
x - A(x)^2 = x - x^2 - 4*x^3 - 22*x^4 - 164*x^5 - 1485*x^6 -...
Let G(x) equal the series reversion of x - A(x)^2, then
G(x) = x + x^2 + 6*x^3 + 47*x^4 + 442*x^5 + 4691*x^6 + 54330*x^7 +...
1/(1-G(x)) = 1 + x + 2*x^2 + 9*x^3 + 64*x^4 + 574*x^5 + 5919*x^6 +...
PROG
(PARI) {a(n)=local(A=x+2*x^2, B=x/(1+x+x*O(x^n))); for(i=1, n, A=serreverse(B-subst(A, x, B)^2)); polcoeff(A, n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 05 2011
STATUS
approved