OFFSET
0,5
LINKS
Masao Koike, Modular forms on non-compact arithmetic triangle groups, Unpublished manuscript [Extensively annotated with OEIS A-numbers by N. J. A. Sloane, Feb 14 2021. I wrote 2005 on the first page but the internal evidence suggests 1997.] See page 13, top of page.
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,1,-1).
FORMULA
G.f.: (x^9+x^8+2*x^7+x^6+2*x^5+2*x^4+x^3+x^2+1)/(1-x^6)^2 = (1-x+x^2+x^4)/(( x-1)^2*(x+1)*(1+x+x^2)*(1-x+x^2)).
From Wesley Ivan Hurt, May 03 2021: (Start)
a(n) = floor((n+2+(-1)^n)/3).
a(n) = a(n-1)+a(n-6)-a(n-7). (End)
a(n) = A103469(n), n>=3. - R. J. Mathar, Nov 27 2023
MATHEMATICA
CoefficientList[Series[(x^9+x^8+2*x^7+x^6+2*x^5+2*x^4+x^3+x^2+1)/(1-x^6)^2, {x, 0, 300}], x] (* Vincenzo Librandi, Mar 07 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 14 2021
STATUS
approved