login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A352640
Expansion of e.g.f. exp(3*sin(x)).
2
1, 3, 9, 24, 45, -24, -747, -3864, -7623, 48576, 548001, 2175360, -5269275, -133496448, -785549331, 789324288, 52523738865, 398157422592, -157735851975, -31426593116160, -278010988509411, 108354846277632, 27060485795905221, 257882404940021760
OFFSET
0,2
FORMULA
a(0) = 1; a(n) = 3 * Sum_{k=0..floor((n-1)/2)} (-1)^k * binomial(n-1,2*k) * a(n-2*k-1).
MATHEMATICA
With[{m = 23}, Range[0, m]! * CoefficientList[Series[Exp[3*Sin[x]], {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(3*sin(x))))
(PARI) a(n) = if(n==0, 1, 3*sum(k=0, (n-1)\2, (-1)^k*binomial(n-1, 2*k)*a(n-2*k-1)));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 25 2022
STATUS
approved