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,0,1,0,1).
FORMULA
G.f.: -x^4*(13-4*x+6*x^2+10*x^3+5*x^4+8*x^5) / ( -1+2*x-x^2+x^4+x^6 ). - R. J. Mathar, Jan 19 2011
a(4)=13, a(5)=22, a(6)=37, a(7)=62, a(8)=105, a(9)=178, a(n)=2*a(n-1)- a(n-2)+ a(n-4)+a(n-6). - Harvey P. Dale, Mar 07 2015
MATHEMATICA
LinearRecurrence[{2, -1, 0, 1, 0, 1}, {13, 22, 37, 62, 105, 178}, 40] (* Harvey P. Dale, Mar 07 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved