PROJECT EULER · #0905
Now I Know
Three epistemologists, known as A, B, and C, are in a room, each wearing a hat with a number on it. They have been informed beforehand that all three numbers are positive and that one of the numbers is the sum of the other two.
Once in the room, they can see the numbers on each other's hats but not on their own. Starting with A and proceeding cyclically, each epistemologist must either honestly state "I don't know my number" or announce "Now I know my number!" which terminates the game.
For instance, if their numbers are
Let
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.