Integers m such that the sequence defined by f(0)=m and f(n+1)=1+gpf(f(n)), with gpf(n) being the greatest prime factor of n (A006530), ends up in the repetitive cycle 3 -> 4 -> 3 -> ...

A120684

Integers m such that the sequence defined by f(0)=m and f(n+1)=1+gpf(f(n)), with gpf(n) being the greatest prime factor of n (A006530), ends up in the repetitive cycle 3 -> 4 -> 3 -> ...

Terms

    a(0) =3a(1) =6a(2) =7a(3) =9a(4) =12a(5) =14a(6) =18a(7) =19a(8) =21a(9) =24a(10) =27a(11) =28a(12) =29a(13) =31a(14) =35a(15) =36a(16) =38a(17) =42a(18) =43a(19) =48a(20) =49a(21) =54a(22) =56a(23) =57a(24) =58a(25) =59a(26) =62a(27) =63a(28) =67a(29) =70

External references