Select the correct answerThere are 6561 balls are there out of them 1 is heavy. Find the minimum number of times the balls have to be weighted for finding out the heavy ball ?Options2414878204
Question
Select the correct answerThere are 6561 balls are there out of them 1 is heavy. Find the minimum number of times the balls have to be weighted for finding out the heavy ball ?Options2414878204
Solution
The answer is 8.
This is a classic problem of dividing and conquering. The strategy is to divide the balls into 3 groups of equal size and then compare the weights of two of these groups.
Here's the step-by-step process:
- Divide the 6561 balls into 3 groups of 2187 balls each.
- Weigh two groups. If they balance, the heavy ball is in the third group. If they don't balance, the heavy ball is in the heavier group. This is the first weighing.
- Now, you have 2187 balls left. Repeat the process: divide them into 3 groups of 729 balls each and weigh two groups. This is the second weighing.
- Repeat the process with 729 balls, then 243 balls, then 81 balls, then 27 balls, then 9 balls, then 3 balls. These are the third, fourth, fifth, sixth, seventh, and eighth weighings.
- Finally, you have 3 balls left. Weigh two of them. If they balance, the heavy ball is the third one. If they don't balance, the heavy ball is the heavier one. This is the ninth weighing.
However, the ninth weighing is not necessary if you stop at 3 balls in the eighth step and directly identify the heavier one. So, the minimum number of times the balls have to be weighed to find out the heavy ball is 8.
Similar Questions
Given 9 balls, all of which weigh the same except for one, what is the minimum of weighings necessary to find the ball with the different weight?
A bag of softballs weighs 342 oz and contains 54 balls. What is the weight of each softball in grams?
Sally loses 4 golf balls for every 18 holes of golf played. This summer she played 648 holes of golf. How many golf balls did Sally lose this summer?
Ramya bought five sweets with different weights. The weight of Jalebi is more than the weight of Jamun. Ramya bought 5kg of Mysore Pak which is the lowest weight among other sweets. Two sweets are weighed in between Halwa and Ladoo which is less weight than the Jalebi. She bought 25kg of Jalebi. How many sweets are more weights than Ladoo?
A builder discovers that a load of bricks is twice as heavy as a load of sticks. The total weight of 4 loads of bricks and 4 loads of sticks is 771 kilograms.What is the total weight of 1 load of bricks and 3 loads of sticks?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.