The Base Dependent Behavior of Kaprekar's Routine: A Theoretical and Computational Study Revealing New Regularities
Daniel Hanover

TL;DR
This paper explores the behavior of Kaprekar's Routine across different bases and digit lengths, deriving new formulas for 3-digit constants and revealing regularities in iteration counts through computational analysis.
Contribution
It provides a theoretical derivation of all 3-digit Kaprekar Constants and uncovers a Pascal's Triangle-like pattern in iteration data across various bases.
Findings
Most 3-digit numbers reach Kaprekar's Constant in 3 iterations.
The iteration counts form a Pascal's Triangle-like pattern.
Derived formulas for 3-digit Kaprekar Constants in various bases.
Abstract
Consider the following process: Take any four-digit number which has at least two distinct digits. Then, rearrange the digits of the original number in ascending and descending order, take these two numbers, and find the difference between the two. Finally, repeat this routine using the difference as the new four-digit number. In 1949, D. R. Kaprekar became the first to discover that this process, known as the Kaprekar Routine, would always yield 6174 within 7 iterations. Since this number remains unchanged after an application of the Kaprekar Routine, it became known as Kaprekar's Constant. Previous works have shown that the only base 10 Kaprekar's Constants are 495 and 6174, the 3-digit and 4-digit case. However, little attention has been given to other bases or determining which digit cases and which bases have a Kaprekar's Constant. This paper analyzes the behavior of the Kaprekar…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVaried Academic Research Topics · Advanced Mathematical Theories
