%I #4 Mar 30 2012 17:28:44
%S 0,21,252,1022,1589,2044,2212,2723,3122,3178,3290,17892,20475,21483,
%T 21987,25578,26586,102837,147420,177443,213402,217938,1445787,1449819,
%U 1646442,1707930,1711962,1715994,1740690,1752786,1777482,1941345
%N Consider the base-8 Kaprekar map n->K(n) defined in A165090. Sequence gives numbers belonging to cycles, including fixed points.
%C Initial terms in base 8: 0, 25, 374, 1776, 3065, 3774, 4244, 5243, 6062, 6152.
%H Joseph Myers, <a href="/A165095/b165095.txt">Table of n, a(n) for n=1..25797</a>
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Union of A165094 and A165097. Cf. A165090, A165096, A165099, A165101, A165108, A165104.
%Y In other bases: A163205 (base 2), A164998 (base 3), A165017 (base 4), A165037 (base 5), A165056 (base 6), A165076 (base 7), A165115 (base 9), A164716 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009