(Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-5 Kaprekar map in A165032.

A165035

(Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-5 Kaprekar map in A165032.

Terms

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

External references