- Foundation
- About 15 min
- 5 practice questions
Palindromes, Kaprekar's magic number, clocks and calendars
Recognise and build palindromic numbers, use reverse-and-add, follow Kaprekar's routine to reach 6174, and find number patterns in clock times and dates.
If something looks wrong, please tell us.
By the end of this lesson you can
- Identify palindromes and list all palindromes of a given kind.
- Carry out reverse-and-add and Kaprekar's routine accurately.
- Find palindromic clock times and count the minutes between them.
Some numbers read the same forwards and backwards; some routines with digits always lead to the same magic number. These are not tricks but patterns waiting to be explained, and some of them are still not fully understood by mathematicians.
Palindromes
A palindrome (or palindromic number) reads the same from left to right and from right to left, such as 44, 303, 5,885 and 12,621. In a 3-digit palindrome the first and last digits are the same; in a 5-digit palindrome the first matches the fifth and the second matches the fourth.
Worked example 1: all 3-digit palindromes using 4, 5 and 6
A 3-digit palindrome looks like ABA. The outer digit A can be 4, 5 or 6 (3 choices), and the middle digit B can be 4, 5 or 6 (3 choices). So there are 3 × 3 = 9 palindromes: 444, 454, 464, 545, 555, 565, 646, 656, 666.
Reverse and add
Take a 2-digit number, add it to its reverse, and repeat until you get a palindrome. Start with 57: 57 + 75 = 132, not a palindrome; 132 + 231 = 363, a palindrome, in 2 steps. Start with 68: 68 + 86 = 154; 154 + 451 = 605; 605 + 506 = 1,111, in 3 steps. Every 2-digit number reaches a palindrome, though 89 needs 24 steps! For 3-digit numbers nobody knows for sure: starting with 196, no palindrome has ever been found.
Kaprekar's routine
D. R. Kaprekar was a mathematics teacher in Devlali, Maharashtra, who loved number patterns. In 1949 he found a remarkable fact about 4-digit numbers.
Kaprekar's routine (4 digits, not all the same)
- Arrange the digits largest first Call this number A.
- Arrange the digits smallest first Call this B (keep zeros at the front, so it may start with 0).
- Subtract Find A − B.
- Use the answer's digits Start again with the result, as a 4-digit number.
Then back to step 1: Arrange the digits largest first
Worked example 2: Kaprekar's routine on 2019
Round 1: A = 9210, B = 0129, A − B = 9210 − 129 = 9081. Round 2: A = 9810, B = 0189, 9810 − 189 = 9621. Round 3: A = 9621, B = 1269, 9621 − 1269 = 8352. Round 4: A = 8532, B = 2358, 8532 − 2358 = 6174. Round 5 would give 7641 − 1467 = 6174 again. So 2019 reaches 6174 in 4 rounds. The number 6174 is called Kaprekar's constant. With 3-digit numbers the same routine ends at 495: for example, 524 gives 542 − 245 = 297, then 972 − 279 = 693, 963 − 369 = 594, 954 − 459 = 495.
Clock and calendar numbers
Times on a 12-hour clock can form patterns: 2:22 and 5:55 repeat a digit; 1:01, 3:23, 10:01 and 12:21 are palindromes. Dates can too: 12/02/2021 written as 12022021 reads the same backwards.
Worked example 3: minutes to the next palindromic time
It is 3:33 now. The next palindromic times are 3:43, then 3:53. From 3:33 to 3:43 is 10 minutes. A trickier one: from 9:59 the next palindrome is 10:01 (since 9:59 itself reads 9-5-9). From 9:59 to 10:00 is 1 minute and to 10:01 is 2 minutes.
| Routine | What you do | Where it ends |
|---|---|---|
| Reverse and add | Add the number to its reverse, repeat | A palindrome (always, for 2-digit starts) |
| Kaprekar, 4 digits | Largest arrangement − smallest arrangement, repeat | 6174 |
| Kaprekar, 3 digits | Same steps with 3 digits | 495 |
Kaprekar's routine: largest arrangement minus smallest arrangement, repeated. Any 4-digit number with at least two different digits reaches 6174.
Key takeaways: a palindrome reads the same both ways; count them by choosing the digits that must match. Reverse-and-add and Kaprekar's routine are step-by-step procedures, so write each step carefully. Clocks and dates hide palindromes too.
Check your understanding
-
1. Which of these numbers is a palindrome?
- 12,312
- 45,564
- 70,770
- 38,383
Show answer
Answer: D. 38,383 has digits 3-8-3-8-3, which read the same both ways. 12,312 reversed is 21,321; 45,564 reversed is 46,554; 70,770 reversed is 07,707. None of those match the original.
-
2. How many 3-digit palindromes can be made using only the digits 1 and 2?
- 4
- 6
- 8
- 2
Show answer
Answer: A. A 3-digit palindrome is ABA. A can be 1 or 2 (2 choices) and B can be 1 or 2 (2 choices), so there are 2 × 2 = 4: 111, 121, 212, 222.
-
3. Start with 39 and reverse-and-add until you reach a palindrome. Which palindrome do you reach?
- 99
- 363
- 121
- 1,111
Show answer
Answer: B. 39 + 93 = 132, which is not a palindrome. 132 + 231 = 363, which is a palindrome.
-
4. In Kaprekar's routine, what is the first subtraction for the number 3524?
- 5432 − 2345 = 3087
- 5423 − 2453 = 2970
- 5432 − 3524 = 1908
- 4532 − 2354 = 2178
Show answer
Answer: A. Arrange the digits largest first: 5432. Smallest first: 2345. Subtract: 5432 − 2345 = 3087.
-
5. It is 12:21 on a 12-hour clock. After how many minutes will the clock next show a palindromic time?
- 10 minutes
- 60 minutes
- 40 minutes
- 50 minutes
Show answer
Answer: C. After 12:21 the next palindromic times would need the form 12:x1 with x = 2, which has passed. The next one is 1:01. From 12:21 to 1:01 is 39 + 1 = 40 minutes.
Sign in to keep track of the lessons you finish.