Actually there is no rational solution to the problem as stated. Given that all we can be sure of is that there must be one blue hat amongst the three the only way to know that one's own hat is blue is to see that both the other two participants are wearing white hats. None of the three participants are in this position. One sees two blue hats, the other two see one blue hat plus whatever color hat the participant who sees the two blue hats sees. All see at least one blue hat.

It is immaterial as to whether the participant who announces his answer is wearing a blue or a white hat. It could be either, he can not know and is simply taking a 50:50 punt.

Consider the two possible hat colors for our punter. If it is blue then all the participants are in the same position. They all see two blue hats. There is no logical differentiation between any of them. If on the other hand our punter wears a white hat the views are W-B B-W B-B This is still not of any help at all. Only seeing W-W is conclusive.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


In reply to Re: (OT) Meditate on this brain-teaser by tachyon
in thread (OT) Meditate on this brain-teaser by japhy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.