OFFSET
1,6
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,1,-1).
FORMULA
From Chai Wah Wu, Jun 10 2020: (Start)
a(n) = a(n-1) + a(n-8) - a(n-9) for n > 9.
G.f.: x*(x^6 + x^5 + x^2)/(x^9 - x^8 - x + 1). (End)
a(n) = floor((n+1)/4) + floor((n+2)/4) - floor((n+6)/8). - Ridouane Oudra, Nov 24 2024
MATHEMATICA
PROG
(PARI) a(n) = floor(sum(k=1, n, frac(k/4))); \\ Michel Marcus, Nov 24 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 19 2011
EXTENSIONS
Name edited by Michel Marcus, Nov 24 2024
STATUS
approved