OFFSET
1,1
COMMENTS
The unitary version of A291173.
MATHEMATICA
uphi[n_] := If[n == 1, 1, (Times @@ (Table[#[[1]]^#[[2]] - 1, {1}] & /@ FactorInteger[n]))[[1]]]; Function[s, Flatten[First@Position[s, #] & /@ Union@Rest@FoldList[Max, 0, s]]]@ Table[n/(Total@FixedPointList[uphi, n] - (n-5)), {n, 2, 10^4}]+1 (* after Michael De Vlieger at A286268 and Alonso del Arte at A092693 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Aug 19 2017
STATUS
approved