How many 10-digit positive integers have the sum of their digits equal to 4?
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.
4 = 1 + 1 + 1 + 1 = 2 + 2 = 1 + 1 + 2 = 1 + 3 = 4
For each case put first digit as non-zero and then count the number of ways.
Case(1) : Putting 1 as first digit there are remaining 9 digits( 3 1's and 6 zeroes)
So total ways : 6 ! 3 ! 9 ! = 8 4
Case(2) : Put 2 as first digit.Remaning digits are 1 2's and 8 zeroes.
So total ways : 8 ! 9 ! = 9
Case(3) : It has two subcases first put 1 as first digit and then put 2 as second digit.in first case putting 1 as first digit remaining digits are 1 1's,1 2's and 7 zeroes.So total ways are 7 1 9 ! = 7 2
Now put 2 as first digit.The remaining digits are 2 1's and 7 zeroes.So, total no of ways are 7 ! 2 ! 9 ! = 3 6
Case(4) : In this case put 1 and putting 3 are similar case.So I will calculate only one way.putting 1 as first digit remaining digits are 1 3's and 8 zeroes.So total number of ways are 8 ! 9 ! = 9
So total ways 9 × 2 = 1 8
Case(5) : In this case Put 4 as first digit and remaining digits are 9 zeroes.This has only 1 way.
So total number of ways are 8 4 + 9 + 7 2 + 3 6 + 1 8 + 1 = 2 2 0