MenuAll puzzles

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?

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

  1. List the two-digit numbers whose digits add up to 9: 18, 27, 36, 45, 54, 63, 72, 81 and 90.
  2. 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.
  3. Swap each one and subtract: 81 − 18 = 63, 72 − 27 = 45, 63 − 36 = 27, 54 − 45 = 9.
  4. 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

Want a fresh one tomorrow? Try the riddle of the day, or the riddle of the week.