login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A352164 Expansion of e.g.f. 1/(cosh(x) - tanh(x)). 1
1, 1, 1, -2, -23, -104, -119, 3088, 37297, 209536, -569039, -29795072, -376722983, -1715047424, 35167499641, 1004215072768, 12109139111137, -1945682345984, -3571363955938079, -84438462955323392, -825288198538588343, 12032890515685113856 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(0) = 1; a(n) = -Sum_{k=1..n} b(k) * binomial(n,k) * a(n-k), where b(k) = (-1)^((k+1)/2) * A000182((k+1)/2) if k is odd, otherwise 1.
MATHEMATICA
m = 21; Range[0, m]! * CoefficientList[Series[1/(Cosh[x] - Tanh[x]), {x, 0, m}], x] (* Amiram Eldar, Mar 06 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(serlaplace(1/(cosh(x)-tanh(x))))
(PARI) c(n) = ((-4)^n-(-16)^n)*bernfrac(2*n)/(2*n);
b(n) = if(n%2==1, (-1)^((n+1)/2)*c((n+1)/2), 1);
a(n) = if(n==0, 1, -sum(k=1, n, b(k)*binomial(n, k)*a(n-k)));
CROSSREFS
Sequence in context: A141405 A068876 A073175 * A141888 A285811 A201851
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 06 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 15:04 EDT 2024. Contains 371914 sequences. (Running on oeis4.)