Question: There
are six boxes containing 5, 7, 14, 16, 18, 29 balls of either red or
blue in colour. Some boxes contain only red balls and others contain
only blue.
One sales man sold one box out of them and then he says, "I have the same number of red balls left out as that of blue."
Which box is the one he solds out?
One sales man sold one box out of them and then he says, "I have the same number of red balls left out as that of blue."
Which box is the one he solds out?
Answer:
He sold the box which contain 29 balls.
Solution:
Total no of balls = 5 + 7 + 14 + 16 + 18 + 29 = 89
Total number of balls are odd. Also, same number of red balls and blue balls are left out after selling one box. So it is obvious that the box with odd number of balls in it is sold out i.e. 5, 7 or 29.
Now using trial and error method,
(89-29) /2 = 60/2 = 30 and
14 + 16 = 5 + 7 + 18 = 30
So box with 29 balls is sold out.
Total number of balls are odd. Also, same number of red balls and blue balls are left out after selling one box. So it is obvious that the box with odd number of balls in it is sold out i.e. 5, 7 or 29.
Now using trial and error method,
(89-29) /2 = 60/2 = 30 and
14 + 16 = 5 + 7 + 18 = 30
So box with 29 balls is sold out.