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 (1,0,1,1,1,1,1).
FORMULA
G.f.: -x^4*(13+9*x+16*x^2+15*x^3+14*x^4+12*x^5+8*x^6) / ( (x^2-x+1)*(x^5+2*x^4+2*x^3+x^2-1) ). - R. J. Mathar, Nov 30 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, 1, 1, 1, 1, 0, 1]^(n-4)*[13; 22; 38; 66; 115; 200; 347])[1, 1] \\ Charles R Greathouse IV, Jun 05 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved
