TCS
Company
In how MANY WAYS can we distribute 10 identical pencil into 4 students so that each student get at least 1 pencil ??
Read Solution (Total 5)
-
- Let us distribute 1 pencil to each.
Then pencils left =10-4=6
Now ways of distributing 6 pencils among 4 such that each gets 0 or more
=(n+r-1)C(r-1) - this is a standard formula
=(6+4-1)C(4-1)
=9C3
=84 - 12 years agoHelpfull: Yes(35) No(1)
- in this case, we have to give ATLEAST 1 pencil to every1.
so, (n-1)C(4-1)=9C3=84 - 12 years agoHelpfull: Yes(8) No(2)
- logic (n+r-1)c(r-1)
distribute 1 pencil to each student
6 pencils left,distribute among 4 students
(6+4-1)c(4-1)=9C3=84
- 12 years agoHelpfull: Yes(6) No(0)
- ans is (n-1)c(r-1)
so ans will be 9c3=84 - 12 years agoHelpfull: Yes(3) No(2)
- total ways ar 9c3
- 12 years agoHelpfull: Yes(0) No(0)
TCS Other Question