Digit adding problem - 1

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?


The answer is 45.

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.

2 solutions

Stephen Mellor
Feb 16, 2018

First of all, the digit sum of the 3 3 -digit number must be between 1 1 (i.e. 100 100 ) and 27 27 (i.e. 999 999 ). When we perform the digit sum of the numbers 1 1 through 27 27 , we find that the only number from 1 1 to 27 27 which has a digit sum which isn't a single digit is 19 19 . This has a digit sum that is 10 10 , which, in turn takes us to 1 1 . Therefore, any 3 3 -digit number whose digit sum does not equal 19 19 will have 2 2 iterations, and any 3 3 -digit number whose digit sum does equal 19 19 will have exactly 3 3 iterations.

Now we need 3 3 digits that add up to 19 19 . Note that we can exclude 0 0 , and hence the occurrence of the first digit being 0 0 , as this would leave 2 2 digits which sum to 19 19 , and the highest possible sum is 18 18 (9,9).

Assume that there is a 9 9 . This would leave a sum of 10 10 which can be made in the following ways:

  • 9 , 9 , 1 \color{#3D99F6} 9,9,1
  • 9 , 8 , 2 \color{#D61F06} 9,8,2
  • 9 , 7 , 3 \color{#D61F06} 9,7,3
  • 9 , 6 , 4 \color{#D61F06} 9,6,4
  • 9 , 5 , 5 \color{#3D99F6} 9,5,5

Now assume that the highest digit is an 8 8 (no 9 9 as this would double count some permutations):

  • 8 , 8 , 3 \color{#3D99F6} 8,8,3
  • 8 , 7 , 4 \color{#D61F06} 8,7,4
  • 8 , 6 , 5 \color{#D61F06} 8,6,5

Now assuming that the highest digit is a 7 7 :

  • 7 , 7 , 5 \color{#3D99F6} 7,7,5
  • 7 , 6 , 6 \color{#3D99F6} 7,6,6

If we now consider the highest digit being a 6 6 , the highest digit sum we could make is only 18 18 (i.e. 6 , 6 , 6 6,6,6 ), so these are all the permutations. All the permutations highlighted blue have a repeated digit, meaning there are 3 3 ways to arrange the digits, and all the permutations highlighted red don't have a repeated digit, meaning there are 6 6 ways to arrange the digits. This means that the answer is ( 5 3 ) + ( 5 6 ) = 45 (5 \cdot 3) + (5 \cdot 6) = \boxed{45} .

@Stephen Mellor , now everything seems beautiful. Thank you, however.

Sagarchandra Roy - 3 years, 3 months ago

Log in to reply

You're welcome, very good problem.

Stephen Mellor - 3 years, 3 months ago

In order to get the single digit number in 3 steps,the number formed at the 2nd step should be such that the addition of the digit is more than 9.Now the number possibilities are [19,28,29,37,38,39,46,47...,99], but as we know that the largest sum of digits in any 3 digit number is 27=9+9+9 for 999, so all the possibilities except 19 are ruled out.Now to get the numbers simply start with unit digit as 1, which will give 199.Now unit digit as 2, we will get 289,298.If this is continued, we can see a pattern emerging,(unit digit,total numbers)=(1,1) (2,2) (3,3) (4,4)...(9,9).So total such numbers=9*10/2=45 (as per summation of natural numbers equation with difference=1).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...