by Alfonzo227 » Mon Apr 16, 2012 2:42 pm UTC
I'm digressing from the simple logic puzzle model, but since (as far as I can tell) Yat has presented an excellent solution, I'm just going to continue on a slightly whimsical train of thought a little...
I think the biggest problem would likely be explaining the concept of modular arithmetic to a random selection of people on a ship. Let's suppose that there's a chance that people mess up the maths.
Person 1, Andy, messes up his count. He gets eaten (2/3 chance, same as before), but now the rest of the group is now working off an erroneous number (we'll call this number K, the number off which everybody is basing their guesses for their own hats). Assuming the second person to get picked, Bella, does her math correctly, she will get eaten with a 2/3 chance. If she does her math wrong, still a 2/3 chance of being lunch.
Now if Bella is eaten, then everybody knows that somebody messed up (assuming they discussed this eventuality beforehand). How do they proceed?
Even worse, assume Andy messed up, Bella got lucky (1/3 chance) and Charlie, person 3, gets eaten! did Charlie mess up, or was it Andy?
If Andy messed up, then they are all working off the wrong number. If Andy didn't mess up but Bella did, then they have the correct number and assuming that their perform the right math, problem solved, shame about Bella. Now the maths they all perform is more or less identical in complexity, so the only real factor that they have to base their guesses as to who messed up is the relative mathematical skills of everybody. If Bella is a maths teacher, and Andy is a literature major, then it's more likely that Andy messed up and they all need a new number. If it's the other way around and Andy is the genius while Bella flips burgers, then they're probably all okay.
So the first order of business, in the day before, is establishing who's good at maths and who isn't, perhaps with a quiz, or just people being honest and estimating their own mathematical abilities. Next, create a ranking that people have to try and memorize of who is better than who at maths.
When somebody N people after the person to provide K, ie Andy in the first case, gets eaten (so N=1 for Bella, 2, for Charlie, etc), the fault could either lie with them or Andy. The probability that Andy messed up decreases by a factor of 1/3 with every increase in N (I think this is right, I would be happy to be corrected or have this proved. I'll try myself as well). This makes intuitive sense, if Kesha (N=10) gets eaten the chance than Andy messed up and everybody between them got lucky is pretty slim, and the chance of somebody getting lucky off a wrong value of K is 1/3. so in the long run we can be pretty sure that if everybody (except poor Andy of course) is fine and then the 30th person (who shall remain nameless) gets eaten, it's likely their own fault for messing up the maths.
But if Bella or Charlie or even miss Daisy is eaten, there's a decent chance that Andy screwed up and they're all in danger. What to do now? if we have quantitative numbers for the relative mathematical skill of Andy and our unlucky second victim, we can work our the likelihood of our value K being wrong. If we think K is wrong, we need a new K, so somebody soon is going to have to ignore their guess of hat based on Andy's K, calculate their own K, and use that instead, hoping that they get lucky.
Some more thoughts:
What other indications might there be of K being wrong?
How would you know that you've been given a new value of K?
Would anybody sacrifice themselves to yell out various colours of hats before being eaten by the cannibals?
TL;DR people are bad at maths and it could get them eaten.