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

A009074
Expansion of e.g.f. cos(tan(x))/exp(x).
2
1, -1, 0, 2, -12, 44, -216, 944, -5296, 27632, -168128, 975072, -5391680, 27882048, 38412672, -1986004224, 61881368832, -850359527680, 16576603568128, -222801125934592, 4120672559178752, -57863671042155520
OFFSET
0,4
LINKS
MATHEMATICA
With[{nmax = 30}, CoefficientList[Series[Cos[Tan[x]]/Exp[x], {x, 0, nmax}], x]*Range[0, nmax]!] (* G. C. Greubel, Jul 24 2018 *)
PROG
(PARI) x='x+O('x^30); Vec(serlaplace(cos(tan(x))/exp(x))) \\ G. C. Greubel, Jul 24 2018
(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
CROSSREFS
Sequence in context: A013704 A025495 A028570 * A371487 A356868 A267344
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Extended with signs by Olivier Gérard, Mar 15 1997
STATUS
approved