Function f(x) = EulerPhi(x) + floor(x/2) is iterated; a(n) is the length of transient part and terminal cycle if the iteration was initiated at n. So a(n) is the number of distinct terms arising during iteration.

A097028

Function f(x) = EulerPhi(x) + floor(x/2) is iterated; a(n) is the length of transient part and terminal cycle if the iteration was initiated at n. So a(n) is the number of distinct terms arising during iteration.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =2a(5) =2a(6) =3a(7) =1a(8) =2a(9) =2a(10) =2a(11) =3a(12) =3a(13) =4a(14) =1a(15) =1a(16) =5a(17) =2a(18) =5a(19) =3a(20) =2a(21) =2a(22) =4a(23) =4a(24) =2a(25) =3a(26) =4a(27) =4a(28) =6a(29) =4

External references