OFFSET
1,1
COMMENTS
The numbers k such that s(k) = k are the perfect totient numbers (A082897).
a(22) > 2*10^10, if it exists.
EXAMPLE
20339 is a term since s(20339) = 23883, s(23883) = 21159 and s(21159) = 20339.
MATHEMATICA
totSum[n_] := Plus @@ FixedPointList[EulerPhi, n] - n - 1; soc3TotQ[n_] := Nest[totSum, n, 3] == n && totSum[n] != n; Select[Range[2, 10^6], soc3TotQ]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Apr 08 2021
STATUS
approved