OFFSET
0,2
FORMULA
a(n)=(-1)^(n-1)*(2*n-1)!*sum(m=1..n, ((sum(i=0..(m-1),(2*m-1-2*i)^(2*n-2*m)*binomial(2*m-1,i))))/((2*m-1)*2^(2*m-2)*(2*n-2*m)!))for n>=1, a(0)=0.
EXAMPLE
x-(5/6)*x^3+(89/120)*x^5-(4717/5040)*x^7+(49897/40320)*x^9-(9870083/5702400)*x^11+(15583801609/6227020800)*x^13-(35897639131/9686476800)*x^15+...
MATHEMATICA
With[{nn=40}, Take[CoefficientList[Series[ArcTan[x Cos[x]], {x, 0, nn}], x] Range[0, nn-1]!, {2, -1, 2}]] (* Harvey P. Dale, Jul 26 2020 *)
PROG
(Maxima)
a(n):=(-1)^(n-1)*(2*n-1)!*sum(((sum((2*m-1-2*i)^(2*n-2*m)*binomial(2*m-1, i), i, 0, (m-1))))/((2*m-1)*2^(2*m-2)*(2*n-2*m)!), m, 1, n);
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Kruchinin, Jun 13 2011
EXTENSIONS
Edited by N. J. A. Sloane, Jul 25 2020 at the suggestion of Harvey P. Dale.
STATUS
approved