3 ms·
From https://en.wikipedia.org/wiki/D._R._Kaprekar https://en.wikipedia.org/wiki/D._R._Kaprekar A similar constant for 3 digits is 495.[7] However, in base 10 a
by dmichulke 2y ago
From https://en.wikipedia.org/wiki/D._R._Kaprekar https://en.wikipedia.org/wiki/D._R._Kaprekar
A similar constant for 3 digits is 495.[7] However, in base 10 a single such constant only exists for numbers of 3 or 4 digits; for other digit lengths or bases other than 10, the Kaprekar's routine algorithm described above may in general terminate in multiple different constants or repeated cycles, depending on the starting value