OFFSET
1,6
FORMULA
G.f. A(x) satisfies: A(x) = x + x^2 * (1 + A(x^2) + A(x^3) + A(x^4) + ...).
MATHEMATICA
a[1] = a[2] = 1; a[n_] := a[n] = Sum[If[d < n - 2, a[d], 0], {d, Divisors[n - 2]}]; Table[a[n], {n, 1, 95}]
nmax = 95; A[_] = 0; Do[A[x_] = x + x^2 (1 + Sum[A[x^k], {k, 2, nmax}]) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] // Rest
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jun 09 2021
STATUS
approved