OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,1,-2,2).
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 *)
PROG
(PARI) Vec((1-x)^(-1)/(1+x+2*x^3)+O(x^99)) \\ Charles R Greathouse IV, Sep 27 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved