%I #4 Mar 30 2012 17:28:44
%S 0,12,66,513,514,4097,4124,32769,32779,32868,262145,262148,262291,
%T 2097153,2097155,2097227,16777217,16777218,16777219,16782116,
%U 134217729,134217731,134217739,134218315,134219007,1073741825,1073741826
%N a(n) = smallest number that leads to a new cycle under the base-8 Kaprekar map of A165090
%C Initial terms in base 8: 0, 14, 102, 1001, 1002, 10001, 10034, 100001, 100013, 100144.
%H Joseph Myers, <a href="/A165107/b165107.txt">Table of n, a(n) for n=1..8775</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Cf. A165090, A165095, A165108, A165109.
%Y In other bases: A164887 (base 2), A165009 (base 3), A165029 (base 4), A165048 (base 5), A165068 (base 6), A165087 (base 7), A165127 (base 9), A151964 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009