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,-1,1,0,-1,1,-1).
FORMULA
G.f.: -x^4*(-13+5*x-6*x^2+3*x^3+5*x^4-4*x^5+8*x^6) / ( (x-1)*(x^6+x^4+x^3+x-1) ). - R. J. Mathar, Jan 19 2011
MATHEMATICA
LinearRecurrence[{2, -1, 1, 0, -1, 1, -1}, {13, 21, 35, 59, 99, 165, 274}, 40] (* Harvey P. Dale, Mar 17 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved