Minimum number of weighings necessary. 8 boxes each having different weights are numbered from 1 to 8 (the lightest 1, the heaviest 8). The total weight of 4 boxes are equal to the other 4’s total, and your task is to identify these two groups. You have a balance scale with two pans on which you can compare the weight of two groups each having exactly 4 boxes. What is the minimum number of weighings necessary to guarantee to accomplish this task?
yrealeq
Answered question
2022-09-11
Minimum number of weighings necessary 8 boxes each having different weights are numbered from 1 to 8 (the lightest 1, the heaviest 8). The total weight of 4 boxes are equal to the other 4’s total, and your task is to identify these two groups. You have a balance scale with two pans on which you can compare the weight of two groups each having exactly 4 boxes. What is the minimum number of weighings necessary to guarantee to accomplish this task?
Answer & Explanation
Baluttor7
Beginner2022-09-12Added 17 answers
Step 1 I would start with 1278. If heavy, it allows you to knot that 7 and 8 are in different groups, if light, you know 1 and 2 are in different groups. Let us assume it is heavy, otherwise subtract all numbers below from 9. Step 2 The remaining combinations that are possible are
where combinations above, north or east are known to be heavier. The line breaks represent layers in a 3D matrix. If we try 1358 next, then either 1468 or 2358, we might need as many as four more. This gives 7 weighings. I haven't proven that you can't do it in 6.
spremani0r
Beginner2022-09-13Added 3 answers
Step 1 Knowing that the weights increase monotonically from box 1 to box 8 allows several options to be discarded out of hand. In particular, if the groups are and , with and and , then we already know the A's are lighter if for each i. These ignorable configurations correspond to walks by from 0 to 0 that are always non-negative:
(fourteen, or the Catalan number ) where the A's are definitely lighter. (The last in this list corresponds to and , for instance.) This leaves only partitions to choose from. So it's quite possible that 5 weightings are enough. Step 2 Indeed, even 4 may be enough, since a weighing may be balanced (that is, there are three possible outcomes, one of which consists of only one possibility). So ideally the first weighing would either balance or reduce us to 10 possibilities; the second would either balance or reduce us to 5 possibilities; the third would either balance or reduce us to 2 possibilities; and the fourth would determine the answer.