Last visit was: 21 Apr 2026, 06:23 It is currently 21 Apr 2026, 06:23
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: 06 Oct 2025
Posts: 252
Own Kudos:
458
 [14]
Given Kudos: 166
Location: India
Concentration: Technology, Strategy
GPA: 4
WE:Information Technology (Computer Software)
Posts: 252
Kudos: 458
 [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: 18 Apr 2026
Posts: 11,230
Own Kudos:
44,981
 [6]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,230
Kudos: 44,981
 [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: 21 Apr 2026
Posts: 6,976
Own Kudos:
16,890
 [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,976
Kudos: 16,890
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
nick1816
User avatar
Retired Moderator
Joined: 19 Oct 2018
Last visit: 12 Mar 2026
Posts: 1,841
Own Kudos:
Given Kudos: 707
Location: India
Posts: 1,841
Kudos: 8,506
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: 25
Own Kudos:
11
 [1]
Given Kudos: 102
Posts: 25
Kudos: 11
 [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: 21 Apr 2026
Posts: 6,976
Own Kudos:
16,890
 [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,976
Kudos: 16,890
 [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: 25
Own Kudos:
Given Kudos: 102
Posts: 25
Kudos: 11
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: 38,944
Own Kudos:
Posts: 38,944
Kudos: 1,116
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109723 posts
Tuck School Moderator
853 posts