Kaprekar dynamics: papers, verification code and data
Authors/Creators
Description
Version 1.0 of the code and data record for research on Kaprekar's routine (iterating the descending-minus-ascending digit arrangement) in arbitrary integer bases.
This version accompanies the paper Cycles of the four-digit Kaprekar map in even bases (R. Galyavin, 2026), included as a PDF with its LaTeX source. The paper determines all cycles of the four-digit Kaprekar map in every even base B = m·2n. It recovers Hasse and Prichett's classification for m = 5 and proves the even-base uniqueness pattern recorded by Chen, Ono, Schwartz and Thakur (J. Integer Sequences 29, 2026, Remark 28). The classification is formally verified in Lean 4.
Files. The paper (PDF and LaTeX source); its ancillary bundle (reproduction scripts in Python and C++, reference results, and the Lean 4 development with build instructions); LICENSE.md; COMMITMENTS.txt, which lists SHA-256 digests of unreleased research materials as a priority record; and SHA256SUMS for all files.
Licenses. Text, figures and data: CC BY 4.0. Code: MIT. See LICENSE.md.
Prepared with substantial AI assistance under the author's direction and close supervision; the author takes responsibility for the contents.
Contact: rustem@galyavin.com
Files
COMMITMENTS.txt
Files
(230.6 kB)
| Name | Size | |
|---|---|---|
|
md5:d1f76d488089ab3b751c82337d6adc65
|
689 Bytes | Preview Download |
|
md5:5aff7d813f7957387596942a5a304bad
|
59.9 kB | Preview Download |
|
md5:d726e4e3a1d826884cc093cee97592c1
|
136.0 kB | Preview Download |
|
md5:4f2f4b9665c1ada68483462ed9e6d740
|
31.5 kB | Download |
|
md5:117d3d2879f04943c14d06ad1ac77280
|
2.0 kB | Preview Download |
|
md5:71ad9fc1624b4d9da22bfdcc798bdb9c
|
460 Bytes | Download |
Additional details
Related works
- Is supplemented by
- Software: https://github.com/galyavin/kaprekar-dynamics (URL)
- References
- Journal article: arXiv:2606.20439 (arXiv)