Red and Green boxes

This topic has expert replies
User avatar
Legendary Member
Posts: 1132
Joined: Mon Jul 20, 2009 3:38 am
Location: India
Thanked: 64 times
Followed by:6 members
GMAT Score:760

Red and Green boxes

by harsh.champ » Tue Feb 09, 2010 4:00 am
There are 6 boxes numbered 1, 2, ...6. Each box is to be filled up either with a red or a green ball in such a way that at least 1 box contains a green ball and the boxes containing green balls are consecutively numbered. The total number of ways in which this can be done is

(A)5
(B)21
(C)33
(D)60
(E)55

The OA is B.
It takes time and effort to explain, so if my comment helped you please press Thanks button :)



Just because something is hard doesn't mean you shouldn't try,it means you should just try harder.

"Keep Walking" - Johnny Walker :P
Source: — Problem Solving |

User avatar
Legendary Member
Posts: 1022
Joined: Mon Jul 20, 2009 11:49 pm
Location: Gandhinagar
Thanked: 41 times
Followed by:2 members

by shashank.ism » Tue Feb 09, 2010 4:59 am
harsh.champ wrote:There are 6 boxes numbered 1, 2, ...6. Each box is to be filled up either with a red or a green ball in such a way that at least 1 box contains a green ball and the boxes containing green balls are consecutively numbered. The total number of ways in which this can be done is

(A)5
(B)21
(C)33
(D)60
(E)55

The OA is B.
GRRRRR, RGRRRR, RRGRRR, RRRGRR, RRRRGR, RRRRRG
GGRRRR, RGGRRR, RRGGRR, RRRGGR, RRRRGG
GGGRRR, RGGGRR, RRGGGR, RRRGGG
GGGGRR, RGGGGR, RRGGGG
GGGGGR, RGGGGG
GGGGGG
Hence 21 ways.

Ans is B
My Websites:
www.mba.webmaggu.com - India's social Network for MBA Aspirants

www.deal.webmaggu.com -India's online discount, coupon, free stuff informer.

www.dictionary.webmaggu.com - A compact free online dictionary with images.

Nothing is Impossible, even Impossible says I'm possible.

User avatar
Legendary Member
Posts: 1275
Joined: Thu Sep 21, 2006 11:13 pm
Location: Arabian Sea
Thanked: 125 times
Followed by:2 members

by ajith » Tue Feb 09, 2010 6:03 am
harsh.champ wrote:There are 6 boxes numbered 1, 2, ...6. Each box is to be filled up either with a red or a green ball in such a way that at least 1 box contains a green ball and the boxes containing green balls are consecutively numbered. The total number of ways in which this can be done is

(A)5
(B)21
(C)33
(D)60
(E)55

The OA is B.
if first is green there are 6 options - all six G, 5G and green....
If first is red and second is green there are 5 options
....
so on
Total no of options = 6+5+4.... +1 = 7*6/2 = 21
Always borrow money from a pessimist, he doesn't expect to be paid back.