OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,3,0,-1,0,-1)
FORMULA
G.f.: (1+2x+x^3)/(1-3x^2+x^4+x^6)=(1+2x+x^3)/((1-x^2)(1-2x^2-x^4)).
MATHEMATICA
CoefficientList[Series[(1+2x+x^3)/(1-3x^2+x^4+x^6), {x, 0, 40}], x] (* or *) LinearRecurrence[{0, 3, 0, -1, 0, -1}, {1, 2, 3, 7, 8, 19}, 40] (* Harvey P. Dale, Mar 29 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Nov 03 2010
STATUS
approved