Quote:
Originally posted by solarflare
But I think my latest idea would work, I just didn't describe it well enough. The first person is able to say whether the difference between the number of red hats and blue hats is a multiple of three or one more or one less.
Assuming it's a multiple of three, then the second person seeing the same difference among the 98 people (excluding himself and the first person) has a white hat. If it's one more then he has a blue hat, and if it's one less he has a red hat. The same argument works for when the original number is one more or one less than a multiple of three, but with a shift.