OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (-1,0,-2).
MATHEMATICA
CoefficientList[Series[(1-x)/(1+x+2x^3), {x, 0, 40}], x] (* Harvey P. Dale, May 10 2026 *)
(* Alternative: *)
LinearRecurrence[{-1, 0, -2}, {1, -2, 2}, 40] (* Harvey P. Dale, May 10 2026 *)
PROG
(PARI) Vec((1-x)/(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
