login
Expansion of e.g.f. cos(tan(x)*exp(x)).
1

%I #15 Sep 08 2022 08:44:37

%S 1,0,-1,-6,-31,-140,-577,-1498,6785,192840,2667711,31783730,353106657,

%T 3771795196,38270910975,356214219678,2639000258561,4515406498320,

%U -420731049845121,-13553517751217174,-318084517098105631

%N Expansion of e.g.f. cos(tan(x)*exp(x)).

%H G. C. Greubel, <a href="/A009076/b009076.txt">Table of n, a(n) for n = 0..250</a>

%t With[{nmax = 30}, CoefficientList[Series[Cos[Tan[x]*Exp[x]], {x, 0, nmax}], x]*Range[0, nmax]!] (* _G. C. Greubel_, Jul 24 2018 *)

%o (PARI) x='x+O('x^30); Vec(serlaplace(cos(tan(x)*exp(x)))) \\ _G. C. Greubel_, Jul 24 2018

%o (Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(Cos(Tan(x)*Exp(x)))); [Factorial(n-1)*b[n]: n in [1..m]]; // _G. C. Greubel_, Jul 24 2018

%K sign,easy

%O 0,4

%A _R. H. Hardin_

%E Extended with signs by _Olivier GĂ©rard_, Mar 15 1997