Let Akbar and Birbal together have non-zero amount of marbles.
Akbar says to Birbal: "If I give you some marbles then you will have twice as many marbles as I will have."
Birbal says to Akbar: "If I give you some marbles then you will have thrice as many marbles as I will have."
What is the minimum possible value of marbles for which the above statements are true?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I wanted a solution since very long time . You completed by need. Thanks for nice solution.
Assume, there are n no. of marbles. Initially, Akbar having x marbles . So, birbal get n-x marbles.
2 ( x − a 1 ) = n − x + a 1
2 Now, Birbal gives a 2 marbles to akbar
x + a 2 = 3 ( n − x − a 2 )
3 From 1 and 2 after eleminating x ,
n = 5 1 2 ( a 1 + a 2 )
For n to be smallest natrural no.
a 1 + a 2 = 5
n = 1 2
Don't you mean a 1 + a 2 = 5 , not 1?
Problem Loading...
Note Loading...
Set Loading...
Suppose Akbar gives Birbal some marbles leaving Akbar with k marble and Birbal with 2 k marbles. This implies that n = k + 2 k = 3 k for some integer k , i.e., n is divisible by 3 .
Similarly, after Birbal gives Akbar some marbles leaving Birbal with m marbles and Akbar with 3 m marbles, we have that n = m + 3 m = 4 m for some integer m , i.e., n is divisible by 4 .
Now the least positive integer divisible by both 3 and 4 is 1 2 , and so 1 2 is the minimum potential value for n . Now say that the two start with 6 marbles each. Then if Akbar gives Birbal 2 of his marbles then Birbal will end up with 8 marbles, twice the number Akbar would have. Also, If Birbal gives Akbar 3 of his 6 marbles then Akbar would have 9 , thrice that of Birbal's 3 marbles.
Thus we have a scenario where n = 1 2 is a possible solution, and since we've shown that 1 2 is the minimum potential solution, we can conclude that 1 2 is the minimum possible solution.