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,1,0,0,-1).
FORMULA
G.f.: -x^4*(-13-8*x+2*x^2+4*x^3+8*x^4) / ( (x-1)*(1+x)*(x^3+x-1) ). - R. J. Mathar, Jan 19 2011
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; -1, 0, 0, 1, 1]^(n-4)*[13; 21; 32; 49; 73])[1, 1] \\ Charles R Greathouse IV, Jun 05 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved
