OFFSET
0,5
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,-2,1,1,-2,1,1,-2,2,-1).
FORMULA
G.f.:(x^3*(2*x^6+x^4+x^3+1))/((x^2+1)*(x^6+x^3+1)*(x-1)^2) [From Maksym Voznyy (voznyy(AT)mail.ru), Jul 27 2009]
MATHEMATICA
Table[Total[Floor[(n+{0, 1, 2})/9]]+Total[Floor[(n+{0, 1})/4]], {n, 0, 80}] (* or *) LinearRecurrence[{2, -2, 1, 1, -2, 1, 1, -2, 2, -1}, {0, 0, 0, 1, 2, 2, 2, 4, 6, 7}, 80] (* Harvey P. Dale, Dec 01 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 28 2004
STATUS
approved