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”).

Expansion of e.g.f. exp(-1 + cos(x) + sin(x)).
1

%I #27 Mar 16 2022 11:46:43

%S 1,1,0,-3,-5,12,71,7,-1028,-2573,14793,100188,-128831,-3445791,

%T -5741800,113954461,601512787,-3296210612,-41316895641,37322755431,

%U 2570678600548,6983413204755,-149303353515823,-1080122148248420,7405149869523649,119115584584019713

%N Expansion of e.g.f. exp(-1 + cos(x) + sin(x)).

%H Seiichi Manyama, <a href="/A352145/b352145.txt">Table of n, a(n) for n = 0..586</a>

%F a(0) = 1; a(n) = Sum_{k=1..n} (-1)^floor(k/2) * binomial(n-1,k-1) * a(n-k).

%o (PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(exp(-1+cos(x)+sin(x))))

%o (PARI) a(n) = if(n==0, 1, sum(k=1, n, (-1)^(k\2)*binomial(n-1, k-1)*a(n-k)));

%Y Cf. A002017, A005046, A292935, A352377.

%K sign

%O 0,4

%A _Seiichi Manyama_, Mar 15 2022