%I #4 Mar 30 2012 17:28:43
%S 1,2,3,5,6,6,6,11,2,2,2,1,5,2,6,1,1,2,9,1,2,1,1,12,2,2,1,1,1,1,2,2,1,
%T 4,2,1,1,1,1,5,7,1,2,2,2,3,1,2,1,2,2,1,1,1,1,5,2,1,2,1,1,2,3,3,2,1,1,
%U 2,2,1,1,1,1,1,5,5,2,1,1,2,2,1,3,3,2,2,1,3,2,1,1,2,2,2,1,1,1,1,24,1,1,2,1,1
%N Length of cycle corresponding to n-th term of A165087
%H Joseph Myers, <a href="/A165089/b165089.txt">Table of n, a(n) for n=1..13070</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Cf. A165071, A165076, A165087, A165088.
%Y In other bases: A000012 (base 2), A165011 (base 3), A165031 (base 4), A165050 (base 5), A165070 (base 6), A165109 (base 8), A165129 (base 9), A151966 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009