OFFSET
1,4
FORMULA
a(1) = 1; a(n) = Sum_{k=1..n, gcd(n, k) > 1} a(n/gcd(n, k)).
MATHEMATICA
a[1] = 1; a[n_] := Sum[If[d < n, EulerPhi[d] a[d], 0], {d, Divisors[n]}]; Table[a[n], {n, 1, 70}]
a[1] = 1; a[n_] := a[n] = Sum[If[GCD[n, k] > 1, a[n/GCD[n, k]], 0], {k, 1, n}]; Table[a[n], {n, 1, 70}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 24 2020
STATUS
approved