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

A009842
Expansion of tanh(x)/cosh(log(1+x)).
0
0, 1, 0, -5, 12, 6, -120, 442, -2352, 13192, 53280, -1665432, 12223200, -6629648, -706340544, 9387463888, -95898673920, 563447710848, 8308014488064, -283290718941056, 3505513923832320, -9173243369732864, -499029405102412800
OFFSET
0,4
FORMULA
a(n) ~ n! * (2*cos(3*n*Pi/4)*(1 - exp(4) - 2*exp(2)*sin(2)) + 2*(1 - exp(4) + 2*exp(2)*sin(2))*sin(3*n*Pi/4)) / ((1 + exp(4) + 2*exp(2)*cos(2)) * 2^(1+n/2)). - Vaclav Kotesovec, Jan 24 2015
MATHEMATICA
Tanh[ x ]/Cosh[ Log[ 1+x ] ]
CoefficientList[Series[(2*(1 + x)*Tanh[x])/(1 + (1 + x)^2), {x, 0, 20}], x] * Range[0, 20]! (* Vaclav Kotesovec, Jan 24 2015 *)
CROSSREFS
Sequence in context: A335102 A342069 A046610 * A169729 A070368 A066326
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Extended with signs by Olivier Gérard, Mar 15 1997
STATUS
approved