CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Vikram has three boxes A, B, and C initially containing 0, 0, 27 balls respectively. He wants to get equal number of balls in each box but the constraint while doing the transfers is that at every i th move he has to transfer exactly i balls from one box to another. And he cannot transfer balls between A and B.
How many minimum steps( if possible) will you take to get to equal number of balls in each box?

A
7
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
9
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Not possible
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 7
As per the given constraint we can only transfer i no. of balls in the i th transfer. Let’s see what this actually means. in the first step you can transfer exactly 1 ball (i=1) in the second step you can transfer exactly 2 balls (i=1) To ensure equal number of balls in all the three boxes, each box should have 9 balls.
Step DescriptionABCInitial Condition0027Move 1 ball from C to A in Step 10+10271=26Move 2 balls from C to B in Step 210+2262=24Move 3 balls from C to A in Step 31+3=42243=21Move 4 balls from C to A in Step 44+4=82214=17Move 5 balls from A to C in Step 585=3217+5=22Move 6 balls from C to A in Step 63+6=92226=16Move 7 balls from C to B in Step 792+7=9167=9Final999
Hence it will take 7 transfers to get 9 balls in each box. All the transfers are demonstrated in the picture.

flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Current Affairs 2015
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon