OFFSET
0,4
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = 4*sum(k=0..(n-1)/2, ((-1)^(n-k+1)*sum(r=0..k, ((sum(i=0..(n-2*k)/2, (2*i-n+2*k)^(2*r+n-2*k)*(-1)^i*binomial(n-2*k,i)))*sum(j=2*r+n-2*k..n, binomial(j-1,2*r+n-2*k-1)*j!*2^(n-j-1)*(-1)^(j)*stirling2(n,j)))/(2*r+n-2*k)!))/((n-2*k)*2^(n-2*k))). - Vladimir Kruchinin, Jun 11 2011
a(n) ~ 2 * (-1)^(n+1) * (n-1)! / arctan(Pi/2)^n. - Vaclav Kotesovec, Jun 26 2014
MATHEMATICA
CoefficientList[Series[Log[1+Sin[Tan[x]]], {x, 0, 20}], x] * Range[0, 20]! (* Vaclav Kotesovec, Jun 26 2014 *)
PROG
(Maxima)
a(n):=4*sum(((-1)^(n-k+1)*sum(((sum((2*i-n+2*k)^(2*r+n-2*k)*(-1)^i*binomial(n-2*k, i), i, 0, (n-2*k)/2))*sum(binomial(j-1, 2*r+n-2*k-1)*j!*2^(n-j-1)*(-1)^(j)*stirling2(n, j), j, 2*r+n-2*k, n))/(2*r+n-2*k)!, r, 0, k))/((n-2*k)*2^(n-2*k)), k, 0, (n-1)/2); /* Vladimir Kruchinin, Jun 11 2011*/
CROSSREFS
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Extended with signs by Olivier Gérard, Mar 15 1997
STATUS
approved