%I #4 Mar 30 2012 17:28:43
%S 0,144,192,1068,1752,1836,9936,10608,13008,13680,15072,55500,72012,
%T 77388,89112,91212,91800,640992,643344,660144,674592,760992,780144,
%U 3562968,4605036,4642668,4772952,5445336,5464152,31412208,31680336
%N Consider the base-7 Kaprekar map n->K(n) defined in A165071. Sequence gives numbers belonging to cycles, including fixed points.
%C Initial terms in base 7: 0, 264, 363, 3054, 5052, 5232, 40653, 42633, 52632, 54612.
%H Joseph Myers, <a href="/A165076/b165076.txt">Table of n, a(n) for n=1..36122</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Union of A165075 and A165078. Cf. A165071, A165077, A165080, A165082, A165088, A165085.
%Y In other bases: A163205 (base 2), A164998 (base 3), A165017 (base 4), A165037 (base 5), A165056 (base 6), A165095 (base 8), A165115 (base 9), A164716 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009