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

A165113

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

Terms

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

External references