OFFSET
0,3
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
G.f.: (Sum_{k=1..15} k*x^k)/((1-x^16)*(1-x)).
G.f.: x*(15*x^16-16*x^15+1)/((1-x^16)*(1-x)^3).
From R. J. Mathar, Nov 05 2011: (Start)
a(n) = +a(n-1) +a(n-16) -a(n-17).
G.f.: x*(1 +2*x +3*x^2 +4*x^3 +5*x^4 +6*x^5 +7*x^6 +8*x^7 +9*x^8 +10*x^9 +11*x^10 +12*x^11 +13*x^12 +14*x^13 +15*x^14) / ( (1+x) *(1+x^2) *(1+x^4) *(1+x^8) *(x-1)^2 ). (End)
MATHEMATICA
Accumulate[Mod[Range[0, 60], 16]] (* Harvey P. Dale, May 30 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Hieronymus Fischer, Jun 11 2007
STATUS
approved
