%I #4 Mar 30 2012 17:28:43
%S 0,51,344,2402,16808,117650,823544,5764802,40353608,40353623,40354466,
%T 282475250,1977326744,1977326763,13841287202,13841287211,13841290483,
%U 96889010408,96889010409,678223072850,678223072851,678223072995
%N a(n) = smallest number that leads to a new cycle under the base-7 Kaprekar map of A165071
%C Initial terms in base 7: 0, 102, 1001, 10001, 100001, 1000001, 10000001, 100000001, 1000000001, 1000000022.
%H Joseph Myers, <a href="/A165087/b165087.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, A165088, A165089.
%Y In other bases: A164887 (base 2), A165009 (base 3), A165029 (base 4), A165048 (base 5), A165068 (base 6), A165107 (base 8), A165127 (base 9), A151964 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009