Home / Riddles / Math riddles / I am a two-digit number. My digits add up to 9 · Riddle
Math riddles
I am a two-digit number. My digits add up to 9, and if you swap them, the new number is 27 more than me. What number am I?
A number puzzle that can be solved by trying cases or with a little algebra. Both routes are short, and the second one shows a neat pattern about swapped digits.
I am a two-digit number. My digits add up to 9, and if you swap them, the new number is 27 more than me. What number am I?
Hint: Swapping the digits of any two-digit number changes it by a multiple of 9.
Reveal the answer
36
The digits 3 and 6 add up to 9, and 63 − 36 = 27.
How to solve it (spoilers)
How to think about it
- List the two-digit numbers whose digits add up to 9: 18, 27, 36, 45, 54, 63, 72, 81 and 90.
- Swapping the digits must make the number bigger, so the second digit has to be larger than the first. That leaves 18, 27, 36 and 45.
- Swap each one and subtract: 81 − 18 = 63, 72 − 27 = 45, 63 − 36 = 27, 54 − 45 = 9.
- Only one gap is 27. With algebra, the swap changes a number by 9 times the difference of its digits, so the digits differ by 3 and add to 9.
Why “36” is the answer
Thirty-six fits both conditions: 3 + 6 = 9, and reversing it gives 63, which is exactly 27 more. It is also the only answer, because a gap of 27 means the digits differ by 3, and the only pair of digits that differ by 3 and add up to 9 is 3 and 6.
Common wrong answers
- 63. Its digits add up to 9, but swapping them gives 36, which is 27 less, not 27 more.
- 27. The question mentions 27, but 27 swapped is 72, which is 45 more.
Related riddles
- If you write every whole number from 1 to 100, how many times do you write the digit 9?
- Put one letter in front of a number, and you get a word for how heavy something is. What is the new word?
- I am an odd number. Take away one letter and I become even. What number am I?
- How can you add eight 8s to get 1,000?
- What is the smallest whole number greater than 1 that leaves a remainder of 1 when you divide it by 2, by 3, by 4, by 5 and by 6?
Want a fresh one tomorrow? Try the riddle of the day, or the riddle of the week.