OFFSET
1,2
FORMULA
E.g.f.: A(x) = Series_Reversion( 1 + exp(x) - 2*exp(x^2) ).
a(n) ~ sqrt(s/(exp(s)*(1-s+2*s^2))) * n^(n-1) / (exp(n) * (1+exp(s)*(1-1/(2*s)))^(n-1/2)), where s = 0.30957459575023142183... is the root of the equation exp(s) = 4*s*exp(s^2). - Vaclav Kotesovec, Jan 12 2014
EXAMPLE
E.g.f.: A(x) = x + 3*x^2/2! + 26*x^3/3! + 398*x^4/4! + 8604*x^5/5! +...
where A( 1 + exp(x) - 2*exp(x^2) ) = x.
Related expansions:
exp(A(x)) = 1 + x + 4*x^2/2! + 36*x^3/3! + 548*x^4/4! + 11800*x^5/5! +...
2*exp(A(x)^2) = 2 + 4*x^2/2! + 36*x^3/3! + 548*x^4/4! + 11800*x^5/5! +...
MATHEMATICA
Rest[CoefficientList[InverseSeries[Series[1 + Exp[x] - 2*Exp[x^2], {x, 0, 20}], x], x] * Range[0, 20]!] (* Vaclav Kotesovec, Jan 12 2014 *)
PROG
(PARI) {a(n)=local(X=x+x*O(x^n)); if(n<1, 0, n!*polcoeff(serreverse(1+exp(X)-2*exp(X^2)), n))}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Feb 07 2012
STATUS
approved