TCS
Company
Numerical Ability
Permutation and Combination
. In how many ways can we distribute 10 pencils to 4 children so each child gets atleast one pencil?
Read Solution (Total 5)
-
- (n-1)c(r-1)
(10-1)c (4-1)
9c3= 84 - 9 years agoHelpfull: Yes(6) No(2)
- correct ans is
9c3 - 9 years agoHelpfull: Yes(6) No(2)
- firstly give 1 pencil each to the 4, now we can distribute the remaining 6 pencils any way we like.
using the "stars and bars" formula, (6+4-1)C(4-1)
= 9C3 = 84 - 8 years agoHelpfull: Yes(3) No(1)
- 1+6c4=16.
give 1 pencil to every boy means(10-4=6).
remaining 6 can be distributed by 6c4=15.
so 1+15=16 - 9 years agoHelpfull: Yes(0) No(3)
- total no. of child is=4 and no. of pencil is=10
i.e A+B+C+D=10
n=10, r=4, k=1(at least one)
by formula
(n-kr+r-1)C(r-1)
9c3=84(ways) - 8 years agoHelpfull: Yes(0) No(1)
TCS Other Question