OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..2000 (first 500 terms from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (2,0,-1).
FORMULA
From Colin Barker, Oct 27 2017: (Start)
G.f.: -(x^8+x^5+x^4-x^3-1)/((x-1)*(x^2+x-1)).
a(n) = 2*a(n-1) - a(n-3) for n>6.
(End)
a(n) = 3*Lucas(n-1) + 1 for n >= 6. - Greg Dresden, Oct 10 2020
PROG
(PARI) Vec(-(x^8+x^5+x^4-x^3-1)/((x-1)*(x^2+x-1)) + O(x^60)) \\ Colin Barker, Oct 27 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
EXTENSIONS
Edited by Alois P. Heinz, Oct 27 2017
STATUS
approved