login
A165002
Consider the base-3 Kaprekar map n->K(n) defined in A164993. Sequence gives least elements of each cycle, including fixed points.
13
0, 32, 184, 320, 1696, 2008, 5332, 15304, 18208, 19144, 26240, 55360, 137776, 146488, 164008, 172720, 175528, 433012, 520372, 1240024, 1476208, 1502344, 1554904, 1581040, 1589464, 3975844, 4487680, 4749760, 11160256, 13286008
OFFSET
1,2
COMMENTS
Initial terms in base 3: 0, 1012, 20211, 102212, 2022211, 2202101, 21022111, 202222211, 220222101, 222021001.
LINKS
Anthony Kay and Katrina Downes-Ward, Fixed Points and Cycles of the Kaprekar Transformation: 1. Odd Bases, Journal of Integer Sequences, Vol. 25 (2022), Article 22.6.7.
CROSSREFS
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).
Sequence in context: A305243 A304477 A316302 * A165010 A304846 A316543
KEYWORD
base,nonn
AUTHOR
Joseph Myers, Sep 04 2009
STATUS
approved