[go: up one dir, main page]

login
A304980
a(n) = 4^n * (1 - 4^n) * Bernoulli(2*n) / (2*n) + EulerE(2*n).
0
-2, 7, -77, 1657, -58457, 3056557, -221729237, 21295269457, -2614745018417, 399460073350357, -74300372446261997, 16529958050063939257, -4333993989483331875977, 1322511243007573825356157, -464663077436832702395156357, 186233354336664458732835601057
OFFSET
1,1
FORMULA
a(n) = (-1)^n * (A000182(n) + A000364(n)).
MATHEMATICA
Array[4^#*(1 - 4^#) BernoulliB[2 #]/(2 #) + EulerE[2 #] &, 16] (* Michael De Vlieger, May 24 2018 *)
PROG
(PARI) a(n) = 4^n * (1 - 4^n) * bernfrac(2*n) / (2*n) + 2*imag(polylog(-2*n, I)); \\ Michel Marcus, May 30 2018
CROSSREFS
Cf. A000367 (Bernoulli numerators), A002445 (Bernoulli denominators), A028296 (EulerE(2*n)), A241242.
Cf. A000182 (tangent numbers), A000364 (secant numbers).
Sequence in context: A083455 A083829 A067963 * A059406 A042791 A128293
KEYWORD
sign
AUTHOR
Daniel Suteu, May 22 2018
STATUS
approved