Question 3
Explore
Take different 4-digit numbers and try carrying out these steps. Find out what happens. Check with your friends what they got.

- To carry out this process (known as Kaprekar's routine):
- Take any -digit number (with at least two different digits).
- Rearrange the digits in descending order to form the largest number ().
- Rearrange the digits in ascending order to form the smallest number (), including leading zeros if any.
- Subtract from to get a new number .
- Repeat the process with the digits of .
- Repeating these steps will always lead to the constant number .
Step 1 · First Iteration Starting with 1234
Let the starting -digit number be .
Largest number from digits:
Smallest number from digits:
Subtract from :
Step 2 · Second Iteration with 3087
Using the digits of :
Largest number:
Smallest number:
Subtract from :
Step 3 · Third Iteration with 8352
Using the digits of :
Largest number:
Smallest number:
Subtract from :
Step 4 · Fourth Iteration with 6174
Using the digits of :
Largest number:
Smallest number:
Subtract from :
Repeating the process on will always yield .
Carrying out these steps always reaches (the Kaprekar constant), which then repeats indefinitely.
- Omitting Leading Zeros: Forgetting to use leading zero(s) when arranging digits to form the smallest -digit number (e.g. for digits , the smallest -digit combination is , not ).
- Numbers with All Identical Digits: Trying this routine with numbers like or results in . The routine requires at least two distinct digits.
More questions in A
Complete Table 2 with 5-digit numbers whose digits are ‘1’, ‘0’, ‘6’, ‘3’, and ‘9’ in some order. Only a coloured cell should have a number greater than all its neighbours.
The biggest number in the table is _________ . The smallest even number in the table is _________ . The smallest number greater than in the table is _________ . Once you have filled the table above, put commas appropriately after the thousands digit.
Will reversing and adding numbers repeatedly, starting with a 2-digit number, always give a palindrome? Explore and find out.*
Explore
Take different 4-digit numbers and try carrying out these steps. Find out what happens. Check with your friends what they got.
Explore
Carry out these same steps with a few 3-digit numbers. What number will start repeating?
Make some more Collatz sequences like those above, starting with your favourite whole numbers. Do you always reach ?
Do you believe the conjecture of Collatz that all such sequences will eventually reach ? Why or why not?
The first player says 1, 2 or 3. Then the two players take turns adding 1, 2, or 3 to the previous number said. The first player to reach 21 wins!
Play this game several times with your classmate. Are you starting to see the winning strategy? Which player can always win if they play correctly? What is the pattern of numbers that the winning player should say?
The first player says a number between 1 and 10. Then the two players take turns adding a number between 1 and 10 to the previous number said. The first player to reach 99 wins!
Play this game several times with your classmate. See if you can figure out the corresponding winning strategy in this case! Which player can always win? What is the pattern of numbers that the winning player should say this time?