Take any four numbers (single digits) and add them together.

Arrange the original four digits in any order to form a four digit number.

Subtract the sum from this four-digit number, and you should get another four digit number.

Hide any one of the four digits in this new number (except a zero) and reveal the other three digits.

How can you determine the value of the hidden number?

Solution to the Problem:

Answer:

Add up the three digits that were revealed.
Then subtract that sum from the next multiple of 9 and that will be your hidden number.

Why does this work?

When you add up the four digits and subtract from the original number, you will get four digits whose sum is a multiple of nine.

When one number is hidden, you just add up the other three digits and subtract from the next multiple of nine to get the hidden number.

For example,
take the numbers 6 7 1 3
Added together they equal 17.

If you subtract 17 from 6713, you get 6696.
If you hide one of the sixes, and reveal 6, 6, and 9.
You would add up 6+6+9 = 21.
The next multiple of 9 (after 21) is 27.
So 27 - 21 = 6, the hidden number.

If you hide the 9, then the numbers revealed would be 6, 6, and 6.
Add them together and you get 18.
The next multiple of 9 is 27, which would give you a 9.

It doesn't matter what order the numbers are in. In the example above,

Take the same four numbers 6 7 1 3
Added together gives you 17, of course.
But this time subtract 17 from 1376, and you get 1359.

Again the four digits add up to a multiple of 9: 1 + 3 + 5 + 9 = 18.
So if you revealed 1, 5, and 9: add them up to get 15.
Then the next multiple of 9 is 18, so the missing number is 3 (18 - 15).

If the three numbers revealed were 1, 3, and 5 Then that sum is 9.
The next multiple of 9 would be 18, so the hidden number is 9.

Here is Rob Miles' excellent explanation:

Someone selects a random four digit number.
Let a,b,c, and d represent the digits.
The number is then 1000a+100b+10c+1d.
The instructions are to subtract the sum of a,b,c, and d from the number,
so 1000a+100b+10c+d - (a+b+c+d) = 999a + 99b + 9c.
This number is guaranteed to be a multiple of 9 because we can factor a 9 out of each term.

Since the person's new number is a multiple of 9, the digits have to add up to 9.

If they hide one, then we can figure out what they hid because the total of the digits in the new number makes a multiple of 9.

Example:
Pick 2 5 9 1
2591 - (2+5+9+1) = 2591 - 17 = 2574
A) They hide the 2, show me 574. I do 5+7+4 = 16. The next multiple of 9 is 18, 18-16 = 2!
B) They hide the 5, show me 274. I do 2+7+4 = 13, The next multiple of 9 is 18, 18-13 = 5!
C) They hide the 7, show me 254. I do 2+5+4 = 11. The next multiple of 9 is 18, 18-11 = 7!
Note on the details, if you end up with numbers that already add up to a multiple of 9, then they person hid a 9 because the problem states that they were not allowed to hide a 0.


Correctly solved by:

1. Rob Miles Northbrook, Illinois
2. Ivy Joseph Pune, Maharashtra, India
3. Mairany Jaracuaro Delta High School,
Delta, Colorado