There are n wise men in a hall and everyone sees each other. Each man will wear a black or white hat. The wise men should simultaneously write down on their piece of paper a guess about the color of their hat. If at least one does not guess, they will all be executed.
The wise men can discuss a strategy before the test and they know that the layout of the hats will be chosen randomly from the set of all 2n layouts. They want to choose their strategy so that the number of layouts for which everyone guesses correctly is as high as possible. What is this number equal to?
The excircles of triangle ABC touch its sides BC , CA , and AB at points A1 , B1 , and C1 , respectively. Let B2 and C2 be the midpoints of segments BB1 and CC1 , respectively. Line B2C2 intersects line BC at point W . Prove that AW=A1W .