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