OFFSET
5,1
LINKS
Colin Barker, Table of n, a(n) for n = 5..1000
Index entries for linear recurrences with constant coefficients, signature (2,0,-1).
FORMULA
a(n) = 2*a(n-1)-a(n-3). - Colin Barker, Dec 01 2014
G.f.: x^5*(2*x^2+5*x+4) / ((x-1)*(x^2+x-1)). - Colin Barker, Dec 01 2014
PROG
(PARI) Vec(x^5*(2*x^2+5*x+4)/((x-1)*(x^2+x-1)) + O(x^100)) \\ Colin Barker, Dec 01 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. K. Guy, Oct 19 2003
STATUS
approved