Interesting problem
Source: Tuymaada 2015, Day 1, Problem 8, Junior League
July 10, 2017
Tuymaadalogiccombinatorics
Problem Statement
Four sages stand around a non-transparent baobab. Each of the sages wears red, blue, or green hat. A sage sees only his two neighbors. Each of them at the same time must make a guess about the color of his hat. If at least one sage guesses correctly, the sages win. They could consult before the game started. How should they act to win?