efyu_lemonardo
May I have a cookie?
You can do this for a larger set of balls as long as you increase the amount of scale usages.
Look ma. No hands.
the real question here is how is does the number of scale usages relate to the number of balls?
what is the precise mathematical relation and why?
This isn't too hard - it's identifying that you essentially have a 'third' scale by knowing that anything you don't weigh is still information.
One of the harder versions of this was explained to me in a similar manner, whereby there are actually TWELVE balls (or pennies as it was told to me), and you don't even know if the odd one is lighter OR heavier, but you get three weighs.
This one is particularly tough, but I'm pretty sure it can be done.
are you certain it can be done?
because it seems to me you can calculate the amount of information needed to be certain, and three weighs don't give you that information based on your conditions.
Mirror all of your opponent's moves across the center of the board. Requires you take the first turn and that your first piece is in the center.
bravo sir! did you figure it out yourself?
I got this question at a job interview and really loved it. My line of thinking was basically this:
1) wow there's not a lot of information to base a universal solution on...
2) AHA! that in itself is valuable information! it means there's a universal solution that doesn't require anything else to be predetermined.
3) in other words it's something that works no matter what the other player does.
4) Mirroring would be one way to do that, as well as some others...
--this is where I ran out of time, and the rest was figured out with some guidance by the interviewer, since he saw I was on the right track, so unfortunately I can't claim figuring out the full solution on my own..
5) but this would only be a viable strategy if only one side could benefit from it, so there has to be a critical point where only one player benefits.
6) there is exactly one place on the board that does not have a mirror! occupy that and you've won. Hence you must be first.