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

%I #4 Mar 30 2012 17:28:44

%S 1,2,2,2,2,2,2,2,2,3,2,3,3,5,4,3,2,5,3,3,2,3,3,5,4,3,3,5,3,3,2,3,3,5,

%T 4,3,4,5,3,3,2,3,3,5,4,3,4,5,2,3,2,3,3,5,3,3,4,5,3,3,2,3,3,5,3,3,4,5,

%U 3,3,2,3,4,5,3,3,4,5,3,3,2,3,3,6,5,3,3,4,5,6,3,2,3,6,5,3,3,4,5,6,3,3,6,5,3

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

%H Joseph Myers, <a href="/A165113/b165113.txt">Table of n, a(n) for n=0..6561</a>

%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>

%Y Cf. A165110, A165112.

%Y In other bases: A164886 (base 2), A164996 (base 3), A165015 (base 4), A165035 (base 5), A165054 (base 6), A165074 (base 7), A165093 (base 8), A151963 (base 10).

%K base,nonn

%O 0,2

%A _Joseph Myers_, Sep 04 2009