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,2,0,-1,-1,-1).
FORMULA
G.f.: -x^4*(-13-8*x-13*x^2+7*x^3+14*x^4+12*x^5+8*x^6) / ( (x^3+x-1)*(x^4+x^3-1) ). - R. J. Mathar, Dec 01 2011
a(n) = a(n-1) + 2*a(n-3) - a(n-5) - a(n-6) - a(n-7). - Wesley Ivan Hurt, Aug 19 2022
MATHEMATICA
LinearRecurrence[{1, 0, 2, 0, -1, -1, -1}, {13, 21, 34, 53, 81, 124, 188}, 40] (* Harvey P. Dale, Feb 06 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved