{"id":"palomar/PALOMAR-2026-11-21-000006","url":"https://github.com/galyavin/kaprekar-cycles-lean/tree/da1c63f6fe2a221f102261a7407690255cbe143a","json":"https://data.palomar-registry.org/entries/PALOMAR-2026-11-21-000006-v1.json","repo":"https://github.com/galyavin/kaprekar-cycles-lean","tags":["math.NT","math.DS","msc:11A63","msc:37P99"],"score":0,"title":"Cycles of the four-digit Kaprekar map in even bases","trust":"high","domain":"math.NT","source":"palomar","authors":["Rustem Galyavin"],"reviews":0,"subject":"math.NT","summary":"The four-digit Kaprekar map in base B sends an integer 0 = 1 and m >= 5, each cycle of the folded map on odd difference pairs lifts to a cycle of the same length. There is one additional cycle of length n+1 if 2^n is 1 modulo m, or one of length 2(n+1) if m = 5 and n is 2 modulo 4. The two conditions are mutually exclusive and the list is exhaustive. For m = 3, odd n gives one cycle of length 3(n+1), and even n gives two cycles of lengths n+1 and 2(n+1). Base two has two fixed points. In base 2^n for odd n >= 3 there are (n-1)/2 cycles of each length n and n+2. For even n >= 2 there are…","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"verified":true,"discussed":0,"published":"2026-11-21","reactions":{},"formalized":true,"formalizes":[{"title":"Cycles of the four-digit Kaprekar map in even bases","identifier":"doi:10.5281/zenodo.24358739","relationship":"formalizes"}]}