Last visit was: 17 Jul 2025, 05:06 It is currently 17 Jul 2025, 05:06
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Yogananda
Joined: 26 Jan 2020
Last visit: 16 Jul 2025
Posts: 253
Own Kudos:
416
 [14]
Given Kudos: 166
Location: India
Concentration: Technology, Strategy
GPA: 4
WE:Information Technology (Computer Software)
Posts: 253
Kudos: 416
 [14]
1
Kudos
Add Kudos
13
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Jul 2025
Posts: 11,294
Own Kudos:
41,787
 [6]
Given Kudos: 333
Status:Math and DI Expert
Products:
Expert
Expert reply
Posts: 11,294
Kudos: 41,787
 [6]
4
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
GMATinsight
User avatar
Major Poster
Joined: 08 Jul 2010
Last visit: 15 Jul 2025
Posts: 6,377
Own Kudos:
15,601
 [1]
Given Kudos: 128
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Products:
Expert
Expert reply
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
Posts: 6,377
Kudos: 15,601
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
nick1816
User avatar
Retired Moderator
Joined: 19 Oct 2018
Last visit: 28 Jun 2025
Posts: 1,853
Own Kudos:
Given Kudos: 707
Location: India
Posts: 1,853
Kudos: 7,837
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Tricky way

suppose we have to fill first n-2 boxes and number of ways [f(n-2)]to fill them is x+y, where x ways ended up with Black and y ways ended up with Blue.

Then number of ways[f(n-1)] to fill n-1 boxes = 2x+y, where x+y ways ended up with Black and x ways ended up with Blue. (Why?)
As number of ways to fill subsequent box of black is 2(blue or black), and number of ways to fill subsequent box of blue is 1(black).

Then number of ways[f(n)] to fill n boxes = 2(x+y)+x= 3x+2y, where (2x+y) ways ended up with Black and (x+y) ways ended up with Blue.

We can see that f(n) = f(n-1)+f(n-2)

In our question. number of ways to fill first box = 1+1=2 (x=1, y=1) Either blue or black

number of ways to fill first 2 boxes = 2*1+1 = 3

Now it follows the above pattern - f(n) = f(n-1)+f(n-2)

f(3) = 2+3=5;
f(4)= 3+5=8
f(5)= 5+8=13
f(6)= 8+13=21
f(7)= 13+21=34 (Answer)

MBADream786
Seven boxes numbered 1 to 7 are arranged in a row.Each is to be filled by either a black or blue colored ball such that no two adjacent boxes contain blue colored balls.In how many ways can the boxes be filled with the balls?
A.23
B.33
C.34
D.32
E.24
avatar
robinbjoern
Joined: 22 Mar 2020
Last visit: 13 Aug 2021
Posts: 27
Own Kudos:
10
 [1]
Given Kudos: 102
Posts: 27
Kudos: 10
 [1]
Kudos
Add Kudos
Bookmarks
Bookmark this Post
GMATinsight
MBADream786
Seven boxes numbered 1 to 7 are arranged in a row.Each is to be filled by either a black or blue colored ball such that no two adjacent boxes contain blue colored balls.In how many ways can the boxes be filled with the balls?
A.23
B.33
C.34
D.32
E.24

Case 0: 0 Blue and 7 Black boxes can be arranged in = 1 ways

Case 1: 1 Blue and 6 Black boxes can be arranged in 7C1 (choose one out of 7 blue places) = 7!/6! = 7 ways
_ _ _ _ _ _ _ _ _ _ _ _ _

Case 2: 2 Blue and 5 Black boxes can be arranged in = 6C2 (choose 2 out of 6 blue places) = 15 ways
_ _ _ _ _ _ _ _ _ _ _

Case 3: 3 Blue and 4 Black boxes can be arranged in = 5C3 ways = 10 ways

Case 4: 4 Blue and 3 Black boxes can be arranged in = 1 ways

Total Possible ways = 1+7+15+10+1 = 34

Answer: Option C

Could you elaborate case 2 and 3 a little further. Whats the idea behind?

Posted from my mobile device
User avatar
GMATinsight
User avatar
Major Poster
Joined: 08 Jul 2010
Last visit: 15 Jul 2025
Posts: 6,377
Own Kudos:
15,601
 [1]
Given Kudos: 128
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Products:
Expert
Expert reply
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
Posts: 6,377
Kudos: 15,601
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
robinbjoern
GMATinsight
MBADream786
Seven boxes numbered 1 to 7 are arranged in a row.Each is to be filled by either a black or blue colored ball such that no two adjacent boxes contain blue colored balls.In how many ways can the boxes be filled with the balls?
A.23
B.33
C.34
D.32
E.24

Case 0: 0 Blue and 7 Black boxes can be arranged in = 1 ways

Case 1: 1 Blue and 6 Black boxes can be arranged in 7C1 (choose one out of 7 blue places) = 7!/6! = 7 ways
_ _ _ _ _ _ _ _ _ _ _ _ _

Case 2: 2 Blue and 5 Black boxes can be arranged in = 6C2 (choose 2 out of 6 blue places) = 15 ways
_ _ _ _ _ _ _ _ _ _ _

Case 3: 3 Blue and 4 Black boxes can be arranged in = 5C3 ways = 10 ways

Case 4: 4 Blue and 3 Black boxes can be arranged in = 1 ways

Total Possible ways = 1+7+15+10+1 = 34

Answer: Option C

Could you elaborate case 2 and 3 a little further. Whats the idea behind?

Posted from my mobile device

robinbjoern

Case 2 is when we need to arrange 2 Blue and 5 Black boxes

Let's place 5 black boxes with some gaps between adjacent black boxes

_ _ _ _ _

Now we have 6 spaces left for 2 blue boxes as mentioned below

B _ B. _ B _ B _ B _ B

We need to fill 2 of these 6 spaces available for Blue so we choose 2 places out of 6 in 6C2 ways =n 15


We repeat the same exercise in case 3 as well
avatar
robinbjoern
Joined: 22 Mar 2020
Last visit: 13 Aug 2021
Posts: 27
Own Kudos:
Given Kudos: 102
Posts: 27
Kudos: 10
Kudos
Add Kudos
Bookmarks
Bookmark this Post
GMATinsight
robinbjoern
GMATinsight
MBADream786
Seven boxes numbered 1 to 7 are arranged in a row.Each is to be filled by either a black or blue colored ball such that no two adjacent boxes contain blue colored balls.In how many ways can the boxes be filled with the balls?
A.23
B.33
C.34
D.32
E.24

Case 0: 0 Blue and 7 Black boxes can be arranged in = 1 ways

Case 1: 1 Blue and 6 Black boxes can be arranged in 7C1 (choose one out of 7 blue places) = 7!/6! = 7 ways
_ _ _ _ _ _ _ _ _ _ _ _ _

Case 2: 2 Blue and 5 Black boxes can be arranged in = 6C2 (choose 2 out of 6 blue places) = 15 ways
_ _ _ _ _ _ _ _ _ _ _

Case 3: 3 Blue and 4 Black boxes can be arranged in = 5C3 ways = 10 ways

Case 4: 4 Blue and 3 Black boxes can be arranged in = 1 ways

Total Possible ways = 1+7+15+10+1 = 34

Answer: Option C

Could you elaborate case 2 and 3 a little further. Whats the idea behind?

Posted from my mobile device

robinbjoern

Case 2 is when we need to arrange 2 Blue and 5 Black boxes

Let's place 5 black boxes with some gaps between adjacent black boxes

_ _ _ _ _

Now we have 6 spaces left for 2 blue boxes as mentioned below

B _ B. _ B _ B _ B _ B

We need to fill 2 of these 6 spaces available for Blue so we choose 2 places out of 6 in 6C2 ways =n 15


We repeat the same exercise in case 3 as well

Great way to look at it! Thanks for your time :)
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 37,429
Own Kudos:
Posts: 37,429
Kudos: 1,013
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
Moderators:
Math Expert
102601 posts
PS Forum Moderator
697 posts