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

A013335
Expansion of e.g.f. tanh(exp(x) - sec(x)).
1
0, 1, 0, -1, -4, -3, 60, 107, -264, -11175, -40200, 142903, 2392436, 8175637, -327277132, -3256146845, -19824913424, 184016913969, 1628105059824, -33266797736465, -1067099983418644, -14633634217342547, -39212918007355092, 458935991667836379
OFFSET
0,5
LINKS
EXAMPLE
x - 1/3!*x^3 - 4/4!*x^4 - 3/5!*x^5 + 60/6!*x^6 ...
MATHEMATICA
Range[0, 30]! CoefficientList[Series[Tanh[Exp[x] - Sec[x]], {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2018 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(1+Tanh(Exp(x) - Sec(x)))); [0] cat [Factorial(n-1)*b[n]: n in [2..m]]; // Vincenzo Librandi, Aug 06 2018
(PARI) x = 'x + O('x^30); concat(0, Vec(serlaplace(tanh(exp(x) - 1/cos(x))))) \\ Michel Marcus, Aug 06 2018
CROSSREFS
Sequence in context: A249226 A328193 A273878 * A298314 A299389 A220556
KEYWORD
sign
AUTHOR
Patrick Demichel (patrick.demichel(AT)hp.com)
EXTENSIONS
a(0)=0 inserted and title improved by Sean A. Irvine, Aug 05 2018
STATUS
approved