A096995 Number of transient terms if f(x) = sigma(phi(x)) = A062402 is iterated at initial value = 2^n.
0, 1, 1, 1, 1, 1, 3, 3, 1, 2, 3, 5, 2, 3, 6, 15, 1, 6, 8, 3, 15, 9, 4, 65, 44, 82, 83, 77, 75, 48, 26, 43, 1
Offset: 0
Examples
Trajectory of 2^0 is 1,1, ...; there are zero transient terms preceding the 1-cycle (1), so a(0) = 0. Trajectory of 2^14 is 16384, 16383, 34200, 30480, 26520, 16380, 10200, 6138, 6045, 9906, 9920, 12264, 10200, ...; there are six transient terms preceding the 6-cycle (10200, 6138, 6045, 9906, 9920, 12264), so a(14) = 6.
Programs
-
Mathematica
With[{nn = 10^4}, Table[Count[Values@ PositionIndex@ NestList[DivisorSigma[1, EulerPhi@ #] &, 2^n, nn], ?(Length@ # == 1 &)], {n, 0, 60}] /. m /; m == nn + 1 -> -1] (* Michael De Vlieger, Jul 24 2017 *)
Extensions
Edited and corrected by Klaus Brockhaus, Jul 19 2007
Comments