cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A009007 Expansion of 1/cos(log(1+x)).

Original entry on oeis.org

1, 0, 1, -3, 16, -100, 760, -6720, 67940, -772560, 9760100, -135617900, 2055532400, -33748556400, 596675513200, -11302050942000, 228340292986000, -4901379615184000, 111394219174810000, -2672242230261006000
Offset: 0

Views

Author

Keywords

Programs

  • Magma
    m:=30; R:=PowerSeriesRing(Rationals(), m); b:=Coefficients(R!(1/Cos(Log(1+x)))); [Factorial(n-1)*b[n]: n in [1..m]]; // G. C. Greubel, Jul 21 2018
  • Maple
    seq(coeff(series(factorial(n)*(1/cos(log(1+x))), x,n+1),x,n),n=0..20); # Muniru A Asiru, Jul 21 2018
  • Mathematica
    With[{nn = 50}, CoefficientList[Series[1/Cos[Log[1 + x]], {x, 0, nn}], x] Range[0, nn]!] (* Vincenzo Librandi, Apr 11 2014 *)
  • PARI
    x='x+O('x^30); Vec(serlaplace(1/cos(log(1+x)))) \\ G. C. Greubel, Jul 21 2018
    

Formula

a(n) ~ n! / ((exp(Pi/2)-1) * (exp(-Pi/2)-1)^n). - Vaclav Kotesovec, Jan 22 2015