No room empty

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 423
Joined: Fri Jun 11, 2010 7:59 am
Location: Seattle, WA
Thanked: 86 times
Followed by:2 members

No room empty

by srcc25anu » Wed Mar 09, 2011 4:56 am
In how many ways can you allocate 6 boys to 4 different rooms if no room can be empty?
1. 1020
2 540
3. 480
4. 1680

User avatar
Legendary Member
Posts: 543
Joined: Tue Jun 15, 2010 7:01 pm
Thanked: 147 times
Followed by:3 members

by anshumishra » Wed Mar 09, 2011 7:05 pm
srcc25anu wrote:In how many ways can you allocate 6 boys to 4 different rooms if no room can be empty?
1. 1020
2 540
3. 480
4. 1680
These are the possibilities : (3,1,1,1) and (2,2,1,1) => Means EITHER one room can have 3 boys and the rest will have one each OR two rooms will have 2 boys each and the other two rooms will have 1 boy each

So, total no. of ways = (No. of ways to select one room which will have 3 boys) * (No. of ways to select the boys for the 4 rooms) + (No. of ways to select two rooms which will have 2 boys each ) * (No. of ways to select the boys for the 4 rooms)

= (4C1)*(6C3*3*2*1) + (4C2)*(6C2*4C2/2! * 2 * 1) [We divide 6C2*4C2 by 2!, since the order of the two rooms which will have 2 boys, doesn't matter]

= 4*20*3*2 + 6* (5*6/2 * 3*4/2)/2 * 2* 1 = 480 + 6* 45*2 = 480+540 = 1020 A
Thanks
Anshu

(Every mistake is a lesson learned )