Friday Logic Puzzle
Discussion
Sorry didn't see that.
But his answer isn't very elegant.
Mine is mathematical such that you do three weighings, always with the same balls, on the same scales for each three weighings, there is no decision making half way through like his, or multiple pathways to the answer.
Just the same three weighings each time and a look up table of answers.
But his answer isn't very elegant.
Mine is mathematical such that you do three weighings, always with the same balls, on the same scales for each three weighings, there is no decision making half way through like his, or multiple pathways to the answer.
Just the same three weighings each time and a look up table of answers.
julian64 said:
Sorry didn't see that.
But his answer isn't very elegant.
Mine is mathematical such that you do three weighings, always with the same balls, on the same scales for each three weighings, there is no decision making half way through like his, or multiple pathways to the answer.
Just the same three weighings each time and a look up table of answers.
As a minimum, you need Log3(N) weighing attempts for N balls.But his answer isn't very elegant.
Mine is mathematical such that you do three weighings, always with the same balls, on the same scales for each three weighings, there is no decision making half way through like his, or multiple pathways to the answer.
Just the same three weighings each time and a look up table of answers.
So for 3 balls, you need 1 weighing.
6 balls you need 2 weighings.
12 balls you need 3 weighings.
957 balls you need 7 weighings..
etc etc.
1)Weigh all 12
2) Weigh six of them
3) Weigh the remaining 6
The delta between the two latter measurements, is the delta of the odd one out.
Subtract this delta from the 1st measurement, then divide the resultant number by 12 and add the delta agan and that will give you the weight of the odd ball. Or
If the Weight of all 12 =A the weight of the first 6 = B and the weight of the latter 6 = C then the weight of the lightest ball = ((a-(b-c))/12)+(b-c) or something like that. But its Friday.
2) Weigh six of them
3) Weigh the remaining 6
The delta between the two latter measurements, is the delta of the odd one out.
Subtract this delta from the 1st measurement, then divide the resultant number by 12 and add the delta agan and that will give you the weight of the odd ball. Or
If the Weight of all 12 =A the weight of the first 6 = B and the weight of the latter 6 = C then the weight of the lightest ball = ((a-(b-c))/12)+(b-c) or something like that. But its Friday.
Gassing Station | The Pie & Piston Archive | Top of Page | What's New | My Stuff