%I #7 Sep 21 2022 13:27:44
%S 0,32,184,320,1696,2008,5332,15304,18208,19144,26240,55360,137776,
%T 146488,164008,172720,175528,433012,520372,1240024,1476208,1502344,
%U 1554904,1581040,1589464,3975844,4487680,4749760,11160256,13286008
%N Consider the base-3 Kaprekar map n->K(n) defined in A164993. Sequence gives least elements of each cycle, including fixed points.
%C Initial terms in base 3: 0, 1012, 20211, 102212, 2022211, 2202101, 21022111, 202222211, 220222101, 222021001.
%H Joseph Myers, <a href="/A165002/b165002.txt">Table of n, a(n) for n=1..23340</a>
%H Anthony Kay and Katrina Downes-Ward, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL25/Kay/kay5.html">Fixed Points and Cycles of the Kaprekar Transformation: 1. Odd Bases</a>, Journal of Integer Sequences, Vol. 25 (2022), Article 22.6.7.
%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y Union of A164997 and A165004. Cf. A164993, A165003, A164998, A165000, A165010, A165006.
%Y In other bases: A163205 (base 2), A165021 (base 4), A165041 (base 5), A165060 (base 6), A165080 (base 7), A165099 (base 8), A165119 (base 9), A164718 (base 10).
%K base,nonn
%O 1,2
%A _Joseph Myers_, Sep 04 2009
|