OFFSET
1,4
COMMENTS
It is conjectured that every number n eventually ends up in a cycle.
LINKS
Viliam Furík, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[n_] := Module[{d = DivisorSigma[0, n]}, n*d/GCD[n, d]^2]; a[n_] := Module[{s = NestWhileList[f, n, UnsameQ, All]}, FirstPosition[s, s[[-1]]][[1]] - 1]; Array[a, 100] (* Amiram Eldar, Dec 16 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Viliam Furík, Dec 11 2024
STATUS
approved