OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,3,1,-1,-1).
FORMULA
G.f.: 1 / ((x^3-x^2-1)*(x^3+2*x^2+x-1)). - Colin Barker, Jul 25 2013
MATHEMATICA
CoefficientList[Series[1/((x^3 - x^2 - 1)*(x^3 + 2*x^2 + x - 1)), {x, 0, 50}], x] (* G. C. Greubel, Apr 26 2017 *)
LinearRecurrence[{1, 1, 3, 1, -1, -1}, {1, 1, 2, 6, 12, 24}, 40] (* Harvey P. Dale, Aug 27 2019 *)
PROG
(PARI) x='x+O('x^50); Vec(1/((x^3-x^2-1)*(x^3+2*x^2+x-1))) \\ G. C. Greubel, Apr 26 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 11 2010
STATUS
approved