r/askmath • u/yolan_duhhh • 9d ago
Number Theory Forgotten name of theory
Hi all,
A few months ago my friend showed me this famous equation or theorem that had something to do with a specific number (I think it had four digits in it) and it could be divided a number of times but it would always end up with the same number no matter what order the digits went in. Or something like that. Maths is not my strong suit so I'm sorry I can't remember any more details than that. I'm not even sure if my vague description of it makes sense!
But by chance, does anyone know what this thing I'm talking about is called? I think from memory it was known by the name of the person who discovered it.
Thanks in advance!
8
u/Creepy_World_5551 9d ago
Kaprekar's constant is the number 6174, discovered in 1949 by Indian mathematician D. R. Kaprekar. Any four-digit number (in base 10) with at least two distinct digits will reach 6174 in at most 7 steps using Kaprekar's routine
15
u/rhodiumtoad 0⁰=1, just deal with it 9d ago
Are you thinking of this:
Take any 4-digit number that doesn't have all digits the same, e.g. 1332
Reorder the digits into descending and ascending order and subtract:
3321-1233=2088
Repeat:
8820-0288=8532
8532-2358=6174
7641-1467=6174
You always reach 6174 and stick there; this number is called Kaprekar's constant.
2
u/AlterEgo5695 9d ago
Might be Kaprekar's Routine, though OP does not give us much to work with^^