OFFSET
1,1
FORMULA
a(n) = 1 + Product_{d|n, d < n} a(d)^phi(n/d).
MATHEMATICA
a[n_] := a[n] = 1 + Product[a[GCD[n, k]], {k, 1, n - 1}]; Table[a[n], {n, 1, 27}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 30 2021
STATUS
approved