- #36
pinball1970
Gold Member
- 3,238
- 4,784
A quick up date, I am looking at the horse one but I had an idea with this.PeroK said:That's the idea. You can reduce the number by (approx) a factor of 3 each time.
It's then a question of what criteria you use to assess your strategy. The maximum number of measurements can be calculated using powers of three (or the inverse process: log to the base ##3##).
If, instead, we look at the expected (average) number of measurements, then it gets suprisingly tricky. The example I gave above is that for ##18## items, you can do better than measuring ##6## against ##6##. That's because you can find one light item from ##7## statistically faster than one light item from ##6##. To be honest, I didn't spot that until I wrote a Python script to check all the possibilities!
from 96 to 3 x32 then 2x10 and 12 followed by 3x4 and I am left with 4.
I then just weight two, I have a one in 4 chance of getting it 4 weighs and definitely can do it in 5.