The 1089 Puzzle: Why So Many Three-Digit Numbers Lead to the Same Answer

The 1089 Puzzle: Why So Many Three-Digit Numbers Lead to the Same Answer

The Answer That Keeps Appearing

Choose a three-digit number, reverse its digits, and subtract the smaller number from the larger. Reverse the difference and add the two together. Provided the original number’s first and last digits differ—and you keep any leading zero in the difference—the answer is always 1089. It looks like a lucky coincidence, but the arithmetic leaves no other possibility.

That is the 1089 puzzle: a number trick you can perform with pencil and paper, followed by a mystery you can solve. The starting number seems to offer hundreds of possibilities. Somehow, all those choices lead to the same four digits.

Try the Trick Yourself

Pick a three-digit number whose first and last digits are different. You do not need to put its digits in any special order, and the middle digit can be anything.

Let’s start with 532:

  1. Reverse the digits: 235.
  2. Subtract the smaller number from the larger: 532 − 235 = 297.
  3. Reverse the difference: 792.
  4. Add: 297 + 792 = 1089.

Now try a very different start: 217. Its reverse is 712, so 712 − 217 = 495. Reverse 495 to get 594, and 495 + 594 = 1089.

If you are showing the puzzle to a friend, write “1089” on a folded piece of paper before they choose their number. Give the instructions, let them do the calculations, and reveal your prediction only at the end. The surprise is more fun when they have made every choice and done every step themselves.

For a smooth demonstration, ask your friend to write each number in a three-digit space; that makes a zero at the front much harder to overlook.

The Tiny Rule That Makes a Big Difference

There is one essential condition: the first and last digits must not be equal. If you choose 707, reversing it gives 707 again. Subtracting produces zero, and adding zero to its reverse will not produce 1089.

There is also a detail that can make a correct attempt look wrong. Suppose you start with 201:

  • Reverse it: 102.
  • Subtract: 201 − 102 = 99.
  • Write that difference in three places: 099.
  • Reverse 099 to get 990.
  • Add: 099 + 990 = 1089.

The zero at the front does not change the value of 99. It tells you how to reverse the three-place result. If you drop it and reverse only “99,” you will add 99 + 99 instead—and miss the trick. The leading-zero case is why careful versions of the puzzle specify how to write the difference.

Starting numbers may have a zero, too. For example, reversing 530 gives 035, which has the value 35. Then 530 − 035 = 495, and 495 + 594 = 1089.

Why the Middle Digit Disappears

Here is the first clue to the mystery: the middle digit has no effect on the subtraction.

Compare 642 and its reverse, 246. Both contain a 4 in the tens place. When you subtract one number from the other, those matching tens cancel. The same thing happens whatever middle digit you choose.

To see the pattern, call the first digit a, the middle digit b, and the last digit c. Their number is:

100a + 10b + c

Its reverse is:

100c + 10b + a

Subtract one from the other. The 10b terms cancel, leaving 99 times the difference between a and c. Taking the smaller number away from the larger means the result is:

99 × |a − c|

The bars simply mean “use the positive difference.” You do not need algebra to enjoy the puzzle, but this short expression explains why changing the middle digit cannot change the subtraction result.

For example, 642 − 246 = 396. Keep the first and last digits but change the middle one: 672 − 276 = 396 as well. The two starting numbers look different; the part that controls their difference is the same.

When a digit trick asks you to reverse a number, compare matching place values: hundreds with hundreds, tens with tens, and ones with ones.

Only Nine Differences Are Possible

Two different digits from 0 to 9 can differ by only 1 through 9. Because the first digit of a three-digit starting number cannot be zero, the largest possible difference is still 9. Multiply each possible difference by 99, and you get the complete list of subtraction results:

| Difference between end digits | Subtraction result | |---:|---:| | 1 | 099 | | 2 | 198 | | 3 | 297 | | 4 | 396 | | 5 | 495 | | 6 | 594 | | 7 | 693 | | 8 | 792 | | 9 | 891 |

Notice what they have in common. Every result has a 9 in the middle, and its first and last digits add up to 9. In 396, for instance, 3 + 6 = 9. In 099, 0 + 9 = 9. Harvey Mudd College’s Magic 1089 explanation uses this short list to show why the traditional version of the trick works.

There are 900 three-digit whole numbers, from 100 through 999. In 90 of them, the first and last digits match. That leaves 810 starting numbers that meet the puzzle’s rule—and all 810 funnel into one of those nine subtraction results.

Why Every Route Ends at 1089

Look again at 396. Reverse it to get 693, then add:

  396
+ 693
-----
 1089

The ones digits give 6 + 3 = 9. The tens digits give 9 + 9 = 18, so you write 8 and carry 1. The hundreds digits give 3 + 6 + 1 = 10. Put those pieces together and you have 1089.

The same addition happens for every row in the table. Reversing the result swaps its two outer digits, which always add to 9. The two middle digits are always 9 and 9. So the column totals are always the same: 9 ones, 18 tens, and 10 hundreds after carrying. Maths Is Fun offers a place-value walkthrough of the 1089 result if you would like to follow the carrying step by step.

This is what makes the puzzle feel magical. The first choice looks wide open, but reversing and subtracting compresses it to nine possibilities. The final reversal and addition make those nine possibilities behave identically.

That way of looking for what cannot change is useful beyond number tricks. In other puzzles, an unchanging property can reveal why a result is guaranteed—or why a proposed move is impossible. Puzzles Arcade explores the same problem-solving habit in its guide to parity checks.

If a result seems inevitable, list the possible halfway results. A short list can turn a mysterious trick into a pattern you can explain.

A Few More Ways to Play

Once you know the secret, try being the person who investigates rather than the person who predicts. Choose starting numbers with the same end digits but different middle digits. Do they reach the same subtraction result? Then choose end digits with different gaps and see which row of the table appears.

You can also challenge someone to find a valid starting number that does not finish at 1089. Agree on the rules first, including the three-place way of writing a difference such as 099. If a calculation seems to break the pattern, check the subtraction and the reversal before declaring victory. The rules, not a handful of examples, are what guarantee the answer.

For a final curiosity, 1089 × 9 = 9801: multiplication reverses its four digits. That is a separate numerical surprise, not a step in the three-digit puzzle.

The real feat of 1089 is not guessing the answer. It is discovering why so many apparently different choices are not as different as they seem. Once you spot the canceled middle digit, the multiples of 99, and the matching column totals, the prediction stops being a mystery—and becomes an especially satisfying piece of mathematics.

Share: