OFFSET
2,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,0,0,-1).
FORMULA
G.f.: [3+3x+2x^2]/[(1-x)(1-x-x^2-x^3)].
MATHEMATICA
CoefficientList[Series[(3+3x+2x^2)/((1-x)(1-x-x^2-x^3)), {x, 0, 40}], x] (* or *) LinearRecurrence[{2, 0, 0, -1}, {3, 9, 20, 40}, 40] (* Harvey P. Dale, Sep 26 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved