OFFSET
1,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..200
Eric Weisstein's MathWorld, Polylogarithm.
FORMULA
a(n) = sum(m=1..(n+1)/2, ((-1)^(m-1)*(2*m-2)!*stirling2(n,2*m-1))).
a(n) ~ (n-1)! * 2^(2*n) * sin(n*arctan(Pi/log(4))) / (Pi^2+4*log(2)^2)^(n/2). - Vaclav Kotesovec, Jan 02 2014
a(n) = (-1)^(n+1)*Im(Li_{1-n}(1+i)), where Li_n(x) is the polylogarithm, i=sqrt(-1). - Vladimir Reshetnikov, Oct 31 2015
MAPLE
a:=series(arctan(exp(x)-1), x=0, 21): seq(n!*coeff(a, x, n), n=0..20); # Paolo P. Lava, Mar 27 2019
MATHEMATICA
nn=20; Rest[CoefficientList[Series[ArcTan[Exp[x]-1], {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Jul 22 2011 *)
Table[(-1)^(n+1) Im[PolyLog[1-n, 1+I]], {n, 1, 20}] (* Vladimir Reshetnikov, Oct 31 2015 *)
PROG
(Maxima)
a(n):=sum(((-1)^(m-1)*(2*m-2)!*stirling2(n, 2*m-1)), m, 1, (n+1)/2);
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Kruchinin, Jun 13 2011
STATUS
approved