A zero seems to be worth nothing. But placed in the middle of a number, it completely changes the value of its digits. Here the zero does not add: it shifts.

The Number with a Zero Inside

Riddle statement

Think of a two-digit number.

When a 0 is inserted between its two digits, the number becomes nine times larger.

What was the original number?

For example, if the number were 47, inserting a 0 in the middle would turn it into 407.

Show solution

Solution

Call the original number:

$ 10a+b $

where $a$ is the tens digit and $b$ is the units digit.

After inserting a zero between the two digits, the number becomes:

$ 100a+b $

The statement says that the new number is nine times the original:

$ 100a+b=9(10a+b) $

Expanding:

$ 100a+b=90a+9b $

Therefore:

$ 10a=8b $

or, simplifying:

$ 5a=4b $

Since $a$ and $b$ are digits, the possible solution is:

$ a=4,\quad b=5 $

The original number was:

$ 45 $

And inserting a zero gives:

$ 405 $

Check:

$ 45 \times 9 = 405 $

Answer: the number was 45.