OFFSET
0,2
FORMULA
a(n) = Sum_{k=0..[n/2]} 4^(n-2*k)/2^k * n!/((n-2*k)!*k!).
O.g.f.: 1/(1-4*x - x^2/(1-4*x - 2*x^2/(1-4*x - 3*x^2/(1-4*x - 4*x^2/(1-4*x -...))))), a continued fraction.
Recurrence: a(n) = 4*a(n-1) + (n-1)*a(n-2). - Vaclav Kotesovec, Oct 20 2012
a(n) ~ exp(4*sqrt(n)-n/2-4)*n^(n/2)/sqrt(2)*(1+11/(3*sqrt(n))). - Vaclav Kotesovec, Oct 20 2012
EXAMPLE
E.g.f.: A(x) = 1 + 4*x + 17*x^2/2! + 76*x^3/3! + 355*x^4/4! + 1724*x^5/5! +...
MATHEMATICA
CoefficientList[Series[E^(4*x+x^2/2), {x, 0, 20}], x]* Range[0, 20]! (* Vaclav Kotesovec, Oct 20 2012 *)
PROG
(PARI) {a(n)=n!*polcoeff(exp(4*x+x^2/2+x*O(x^n)), n)}
(PARI) {a(n)=sum(k=0, n\2, 4^(n-2*k)/2^k * n!/((n-2*k)!*k!))}
(PARI) /* O.g.f. as a continued fraction: */
{a(n)=local(CF=1+4*x+x*O(x^n)); for(k=1, n-1, CF=1/(1-4*x-(n-k)*x^2*CF)); polcoeff(CF, n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 25 2011
STATUS
approved