The Kaprekar Number Calculator

There are many curious patterns in Mathematics. One of them is created by the Kaprekar method.The Kaprekar method is very easy to use and is the following:

- Take any four digit number (e.g. 3942)
- Rearrange its digits into ascending and descending order(e.g. 2349 and 9432)
- Subtract the smaller from the larger (e.g. 9432 - 2349 = 7083)
- Now repeat the same procedure with the new number.

(so here we would do 8730 - 378 = 8352

and so on ...Eventually, usually after a few steps, you will end up with the Kaprekar number.

You can use the calculator to investigate what happens to numbers which do not have 4 digits using the same method.

Created by Jamie Coventry