OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,6,0,0,0,-1).
FORMULA
From R. J. Mathar, Nov 28 2008: (Start)
a(n) = 6*a(n-4) - a(n-8).
G.f.: x*(1+x+5*x^2+2*x^3-x^4-x^5-x^6)/((1-2*x^2-x^4)*(1+2*x^2-x^4)). (End)
MATHEMATICA
CoefficientList[Series[x (1+x+5x^2+2x^3-x^4-x^5-x^6)/((1-2x^2-x^4) (1+2x^2-x^4)), {x, 0, 50}], x] (* Harvey P. Dale, May 11 2011 *)
PROG
(PARI) x='x+O('x^50); Vec(x*(1+x+5*x^2+2*x^3-x^4-x^5-x^6)/((1-2*x^2-x^4)*(1+2*x^2-x^4))) \\ G. C. Greubel, Sep 20 2017
CROSSREFS
KEYWORD
nonn,less,easy
AUTHOR
Roger L. Bagula, Mar 16 2006
EXTENSIONS
Edited, corrected and new name using Mathar's formula, Editors, Sep 21 2017
STATUS
approved