OFFSET
1,7
COMMENTS
Shifts left 5 places under inverse Moebius transform.
FORMULA
G.f.: x + x^2 + x^3 + x^4 + x^5 * (1 + Sum_{n>=1} a(n)*x^n/(1 - x^n)).
a(1) = ... = a(5) = 1; a(n+5) = Sum_{d|n} a(d).
MATHEMATICA
terms = 75; A[_] = 0; Do[A[x_] = x + x^2 + x^3 + x^4 + x^5 (1 + Sum[A[x^k], {k, 1, terms}]) + O[x]^(terms + 1) // Normal, terms + 1]; Rest[CoefficientList[A[x], x]]
a[n_] := a[n] = SeriesCoefficient[x + x^2 + x^3 + x^4 + x^5 (1 + Sum[a[k] x^k/(1 - x^k), {k, 1, n - 1}]), {x, 0, n}]; Table[a[n], {n, 1, 75}]
a[n_] := a[n] = Sum[a[d], {d, Divisors[n - 5]}]; a[1] = a[2] = a[3] = a[4] = a[5] = 1; Table[a[n], {n, 1, 75}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 09 2019
STATUS
approved