OFFSET
0,3
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..100
FORMULA
a(n) = 2*sum(m=0..n-1, ((sum(j=1..2*m+1, j!*2^(-j)*(-1)^(j+1)*stirling2(2*m+1,j)))*sum(i=0..(2*m+1)/2, (2*i-(2*m+1))^(2*n-1)*binomial(2*m+1,i)*(-1)^(n-i)))/(2*m+1)!). [Vladimir Kruchinin, Jun 11 2011]
MATHEMATICA
With[{nn = 50}, Take[CoefficientList[Series[Tan[Sin[x]], {x, 0, nn}], x] Range[0, nn-1]!, {2, -1, 2}]] (* Vincenzo Librandi, Apr 11 2014 *)
PROG
(Maxima)
a(n):=2*sum(((sum(j!*2^(-j)*(-1)^(j+1)*stirling2(2*m+1, j), j, 1, 2*m+1))*sum((2*i-(2*m+1))^(2*n-1)*binomial(2*m+1, i)*(-1)^(n-i), i, 0, (2*m+1)/2))/(2*m+1)!, m, 0, n-1); /* Vladimir Kruchinin, Jun 11 2011 */
CROSSREFS
KEYWORD
sign
AUTHOR
EXTENSIONS
Changed offset from 1 to 0 by Vincenzo Librandi, Apr 11 2014
STATUS
approved