combi

Probability Level pending

The number of seven digit integers,with sum of the digit equal to 10 and formed by using digits 1,2 & 3 only.


The answer is 77.

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.

3 solutions

Raghav Gupta
Mar 7, 2015

There are 2 possible cases,

Case1- Five 1's,one 2's,one 3's No.=7!÷5!=42

Case 2- Four 1's,three 2's No.of numbers=7!÷4!3!=35

Total no. Of numbers= 42+35=77

Hi , why did you share this set ? It is empty , so it won't do anyone any good .

So before people get angry about it , at least please change it's name from "to solve" to "Empty Set" ,for example ..

A Former Brilliant Member - 6 years, 3 months ago

Log in to reply

OK bro Done it! Change the name to "empty".

Raghav Gupta - 6 years, 3 months ago

Log in to reply

You would like this and this !

A Former Brilliant Member - 6 years, 3 months ago
Kartik Sharma
Mar 9, 2015

Done using generating functions!

a 1 + a 2 + a 3 + . . . + a 7 = 10 {a}_{1} + {a}_{2} + {a}_{3} + ... + {a}_{7} = 10 for a i {a}_{i} s in [1,3]

( x + x 2 + x 3 ) 7 {(x+{x}^{2} + {x}^{3})}^{7} is our function and we have to find the co-efficient of x 10 {x}^{10}

x 7 ( ( 1 + x + x 2 ) 7 ) {x}^{7}({(1+x + {x}^{2})}^{7})

So, we just have to find co-efficient of x 3 {x}^{3} in ( ( 1 + x + x 2 ) 7 ) ({(1+x + {x}^{2})}^{7})

( 1 x 3 ) 7 ( ( 1 x ) 7 ) {(1-{x}^{3})}^{7}({(1-x)}^{-7})

In the first, we will just get minimum of x 3 {x}^{3} [except that one] and its co-efficient is C ( 7 , 1 ) -C(7,1)

In the second, we will get the coefficient of x 3 {x}^{3} is C ( 7 + 3 1 , 3 ) = C ( 9 , 3 ) C(7 + 3-1,3) = C(9,3)

Therefore, our answer becomes C ( 9 , 3 ) C ( 7 , 1 ) = 77 C(9,3) - C(7,1) = 77

My answer is same as that of Raghav Gupta , probably better presented here.

There are only 2 2 possible cases:

  • Case 1: 1 + 1 + 1 + 1 + 2 + 2 + 2 = 10 1+1+1+1+2+2+2=10 . The number of seven-digit numbers of this case:

N 1 = 7 ! 4 ! 3 ! = 35 \quad \quad N_1 = \dfrac {7!}{4!3!} = 35

  • Case 2: 1 + 1 + 1 + 1 + 1 + 2 + 3 = 10 1+1+1+1+1+2+3=10 . The number of seven-digit numbers of this case:

N 2 = 7 ! 5 ! = 42 \quad \quad N_2 = \dfrac {7!}{5!} = 42

Therefore, the total number of seven-digit numbers is:

N = N 1 + N 2 = 35 + 42 = 77 N= N_1+N_2 = 35+42 = \boxed{77}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...