%I #4 Mar 30 2012 17:28:43
%S 1,2,2,1,3,3,3,2,2,1,1,3,3,3,2,2,1,4,4,4,4,1,3,3,1,3,3,3,3,2,2,1,2,2,
%T 1,5,5,5,5,5,3,3,1,3,3,3,3,2,2,1,1,2,2,1,6,6,6,6,6,6,5,5,5,5,5,3,3,1,
%U 3,3,3,3,2,2,1,3,3,3,1,2,2,1,4,4,2,4,1,2,4,6,6,6,6,6,6,5,5,5,5,5,3,3,1,3,3
%N Length of cycle mentioned in A164998
%H Joseph Myers, <a href="/A164999/b164999.txt">Table of n, a(n) for n=1..8662</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Cf. A164993, A164998, A165001, A165003, A165005, A165011.
%Y In other bases: A000012 (base 2), A165018 (base 4), A165038 (base 5), A165057 (base 6), A165077 (base 7), A165096 (base 8), A165116 (base 9), A164717 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009