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

A165015

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

Terms

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

External references