OFFSET
1,1
COMMENTS
EXAMPLE
There are 9 terms in the iterations of phi(k) for 2916: 2916, 972, 324, 108, 36, 12, 4, 2, 1. Their sum is 4375. Both 9 and 4375 are perfect totient numbers (A082897).
MATHEMATICA
iterList [n_] := FixedPointList[EulerPhi@# &, n]; sumIter [n_] := Plus @@ iterList[n] - 1; numIter[n_] := Length[iterList[n]] - 1; perfTotQ[n_] := sumIter[n] == 2 n; totSublimeQ[n_] := perfTotQ[numIter[n]] && perfTotQ[sumIter[n]]; Select[Range [10^8], totSublimeQ]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Jul 21 2017
STATUS
approved