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.

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

Original entry on oeis.org

1, 0, 1, -2, 3, -4, 9, -14, 23, -40, 69, -114, 195, -332, 561, -950, 1615, -2736, 4637, -7866, 13339, -22612, 38345, -65022, 110247, -186936, 316981, -537474, 911347, -1545308, 2620257, -4442950, 7533567, -12774080, 21659981, -36727114, 62275275, -105595236, 179049465, -303600014
Offset: 0

Views

Author

N. J. A. Sloane, Nov 17 2002

Keywords

Crossrefs

Cf. A003229.

Programs

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