We can add up multiple digits in a multi-digit number to get a single-digit number.
For example, 137 has 3 digits- 1 , 3 , 7 ; We have to add the digits in this number TWO times to get a single digit number; 1st step. 137 : 1 + 3 + 7 = 11 ; 2nd step. 11 : 1 + 1 = 2 .
Question is, how many positive 3 -digit numbers are there we have to add THREE times in the above way to get a single-digit number?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First of all, the digit sum of the 3 -digit number must be between 1 (i.e. 1 0 0 ) and 2 7 (i.e. 9 9 9 ). When we perform the digit sum of the numbers 1 through 2 7 , we find that the only number from 1 to 2 7 which has a digit sum which isn't a single digit is 1 9 . This has a digit sum that is 1 0 , which, in turn takes us to 1 . Therefore, any 3 -digit number whose digit sum does not equal 1 9 will have 2 iterations, and any 3 -digit number whose digit sum does equal 1 9 will have exactly 3 iterations.
Now we need 3 digits that add up to 1 9 . Note that we can exclude 0 , and hence the occurrence of the first digit being 0 , as this would leave 2 digits which sum to 1 9 , and the highest possible sum is 1 8 (9,9).
Assume that there is a 9 . This would leave a sum of 1 0 which can be made in the following ways:
Now assume that the highest digit is an 8 (no 9 as this would double count some permutations):
Now assuming that the highest digit is a 7 :
If we now consider the highest digit being a 6 , the highest digit sum we could make is only 1 8 (i.e. 6 , 6 , 6 ), so these are all the permutations. All the permutations highlighted blue have a repeated digit, meaning there are 3 ways to arrange the digits, and all the permutations highlighted red don't have a repeated digit, meaning there are 6 ways to arrange the digits. This means that the answer is ( 5 ⋅ 3 ) + ( 5 ⋅ 6 ) = 4 5 .