OFFSET
0,2
FORMULA
G.f. satisfies: A(x) = 1/[(1 - x*A(x))*(1 - x/A(-x))]. - Paul D. Hanna, Dec 06 2009
EXAMPLE
G.f.: A(x) = 1 + 2*x + 7*x^2 + 20*x^3 + 73*x^4 + 263*x^5 + 1111*x^6 + ...
log(A(x)) = [A(x)+1/A(-x)]*x + [A(x)^2+1/A(-x)^2]*x^2/2 + [A(x)^3+1/A(-x)^3]*x^3/3 + ...
PROG
(PARI) {a(n)=local(A=1+x+x*O(x^n)); for(i=1, n, A=exp(sum(m=1, n, (A^m+subst(A^-m, x, -x)+x*O(x^n))*x^m/m))); polcoeff(A, n)}
(PARI) {a(n)=local(A=1+x); for(i=1, n, A=(1-x*A+x*O(x^n))^-1*(1-x/subst(A, x, -x)+x*O(x^n))^-1); polcoeff(A, n)} \\ Paul D. Hanna, Dec 06 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 05 2009
STATUS
approved