OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..545
FORMULA
a(0) = 1; a(n) = 2 * Sum_{k=0..floor((n-1)/2)} (-1)^k * (2*k+1) * binomial(n-1,2*k) * a(n-2*k-1).
MATHEMATICA
With[{m = 22}, Range[0, m]! * CoefficientList[Series[Exp[2*x*Cos[x]], {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(2*x*cos(x))))
(PARI) a(n) = if(n==0, 1, 2*sum(k=0, (n-1)\2, (-1)^k*(2*k+1)*binomial(n-1, 2*k)*a(n-2*k-1)));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 25 2022
STATUS
approved