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

A009137
Expansion of e.g.f. cosh(log(1+x)/cos(x)).
1
1, 0, 1, -3, 24, -120, 990, -7140, 69048, -658728, 7542960, -89216160, 1191378408, -16691737920, 255303337016, -4111553595240, 70932973452032, -1287129875516672, 24738396315075648, -498729120183554688
OFFSET
0,4
LINKS
FORMULA
a(n) ~ (-1)^n * n! / (2 * Gamma(1/cos(1)) * n^(1 - 1/cos(1))). - Vaclav Kotesovec, Jul 31 2018
MAPLE
seq(coeff(series(factorial(n)*cosh(log(1+x)/cos(x)), x, n+1), x, n), n=0..20); # Muniru A Asiru, Jul 31 2018
MATHEMATICA
With[{nmax = 30}, CoefficientList[Series[Cosh[Log[1 + x]/Cos[x]], {x, 0, nmax}], x]*Range[0, nmax]!] (* G. C. Greubel, Jul 30 2018 *)
PROG
(PARI) x='x+O('x^30); Vec(serlaplace(cosh(log(1+x)/cos(x)))) \\ G. C. Greubel, Jul 30 2018
(Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(Cosh(Log(1+x)/Cos(x)))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Jul 30 2018
CROSSREFS
Sequence in context: A324065 A151883 A009134 * A319097 A326789 A305543
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Extended with signs by Olivier Gérard, Mar 15 1997
STATUS
approved