OFFSET
0,9
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,0,0,2,0,0,0,0,0,1).
FORMULA
From R. J. Mathar, Nov 28 2008: (Start)
a(n) = 2*a(n-6) + a(n-12).
G.f.: x*(1+x+x^4+x^5-x^6+x^8+x^9)/(1-2*x^6-x^12).
a(6*n) = a(6*n+3) = a(6*n+4) = A000129(n).
a(6*n+1) = A001333(n).
a(6*n+2) = a(6*n+5) = A000129(n+1). (End)
MATHEMATICA
CoefficientList[Series[x*(1 + x + x^4 + x^5 - x^6 + x^8 + x^9)/(1 - 2 x^6 - x^12), {x, 0, 50}], x] (* G. C. Greubel, Sep 20 2017 *)
PROG
(PARI) x='x+O('x^50); Vec(x*(1+x+x^4+x^5-x^6+x^8+x^9)/(1-2*x^6-x^12)) \\ G. C. Greubel, Sep 20 2017
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Roger L. Bagula, Mar 17 2006
EXTENSIONS
Terms a(37) onward added by G. C. Greubel, Sep 20 2017
Better name using given g.f. from Joerg Arndt, Oct 26 2024
STATUS
approved