%I #16 Sep 08 2022 08:44:37
%S 1,0,-1,3,-22,100,-700,3990,-28628,171288,-1025420,1661660,78215392,
%T -2266954560,46180065256,-873515610240,16163533621648,
%U -300558671466048,5688054655288496,-109993409199908496,2184633395323803360
%N Expansion of cos(log(1+x)/cos(x)).
%H G. C. Greubel, <a href="/A009032/b009032.txt">Table of n, a(n) for n = 0..250</a>
%t With[{nmax = 30}, CoefficientList[Series[Cos[Log[1 + x]/Cos[x]], {x, 0, nmax}], x]*Range[0, nmax]!] (* _G. C. Greubel_, Jul 22 2018 *)
%o (PARI) x='x+O('x^30); Vec(serlaplace(cos(log(1+x)/cos(x)))) \\ _G. C. Greubel_, Jul 22 2018
%o (Magma) m:=30; R<x>:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(Cos(Log(1+x)/Cos(x)))); [Factorial(n-1)*b[n]: n in [1..m]]; // _G. C. Greubel_, Jul 22 2018
%K sign,easy
%O 0,4
%A _R. H. Hardin_
%E Extended with signs by _Olivier GĂ©rard_, Mar 15 1997
|