OFFSET
4,1
LINKS
R. H. Hardin, Table of n, a(n) for n = 4..500
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,2,-1,0,1).
FORMULA
G.f. -x^4*(13-5*x-9*x^2+13*x^3-6*x^4+4*x^5+8*x^6) / ( (x^2+x-1)*(x^5-x^4+x^3-x+1) ). - R. J. Mathar, Jan 19 2011
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 1; 1, 0, -1, 2, -2, 0, 2]^(n-4)*[13; 21; 33; 53; 84; 135; 217])[1, 1] \\ Charles R Greathouse IV, Aug 05 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved