OFFSET
1,3
FORMULA
G.f.: x * ( 1 + Sum_{n>=1} a(n) * x^n / (1 - 3 * x^n) ).
a(n) ~ 3^(n-1) / 2.
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Sum[3^((n - 1)/d - 1) a[d], {d, Divisors[n - 1]}]; Table[a[n], {n, 1, 30}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jun 19 2022
STATUS
approved