OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..250
MATHEMATICA
With[{nn=25}, CoefficientList[Series[Cos[Log[1+Tan[x]]], {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Oct 26 2011 *)
PROG
(Maxima)
a(n):=if n=0 them 1 else sum(sum((stirling1(n-2*i, 2*m)*sum(binomial(j-1, n-2*i-1)*j!*2^(n-j)*(-1)^(n-i+j+m)*stirling2(n, j), j, n-2*i, n))/(n-2*i)!, i, 0, n/2-m), m, 0, n/2); /* Vladimir Kruchinin, Jun 20 2011 */
(PARI) x='x+O('x^30); Vec(serlaplace(cos(log(1+tan(x))))) \\ G. C. Greubel, Jul 22 2018
(Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(Cos(Log(1+Tan(x))))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Jul 22 2018
CROSSREFS
KEYWORD
sign,easy
AUTHOR
EXTENSIONS
Extended with signs by Olivier Gérard, Mar 15 1997
STATUS
approved