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.

A077897 Expansion of (1-x)^(-1)/(1+x-2*x^2-x^3).

Original entry on oeis.org

1, 0, 3, -1, 8, -6, 22, -25, 64, -91, 195, -312, 612, -1040, 1953, -3420, 6287, -11173, 20328, -36386, 65870, -118313, 213668, -384423, 693447, -1248624, 2251096, -4054896, 7308465, -13167160, 23729195, -42755049, 77046280, -138827182, 250164694, -450772777, 812274984, -1463655843
Offset: 0

Views

Author

N. J. A. Sloane, Nov 17 2002

Keywords

Programs

  • Mathematica
    CoefficientList[Series[(1-x)^(-1)/(1+x-2x^2-x^3),{x,0,40}],x] (* or *) LinearRecurrence[{0,3,-1,-1},{1,0,3,-1},40] (* Harvey P. Dale, Nov 02 2024 *)
  • PARI
    Vec((1-x)^(-1)/(1+x-2*x^2-x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012