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,0,-3,2).
FORMULA
G.f.: -x^4*(13-4*x-8*x^2-16*x^3+16*x^4) / ( (2*x^3+x^2-1)*(x-1)^2 ). - 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; 2, -3, 0, 0, 2]^(n-4)*[13; 22; 36; 56; 89])[1, 1] \\ Charles R Greathouse IV, Jun 05 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved
