8 Prisoners wearing hats Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Four prisoners wearing black and white hatsThe sadistic executioner (a.k.a the 100 prisoners)1000 logicians wearing hatsThe 100 Hat RiddleOne Hundred Prisoners and a Rubik's CubeFive Prisoners wearing hatsHat puzzle - 7 prisonersGuessing hat colors. 4 prisoners6 prisoners, 2 colors, one muteAgain! 6 prisoners, 2 colors, one mute

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

How do I make this wiring inside cabinet safer? (Pic)

What is homebrew?

What is the meaning of the simile “quick as silk”?

How do I find out the mythology and history of my Fortress?

Using audio cues to encourage good posture

Is there such thing as an Availability Group failover trigger?

Do I really need to have a message in a novel to appeal to readers?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Delete nth line from bottom

Most bit efficient text communication method?

Maximum summed powersets with non-adjacent items

Why are there no cargo aircraft with "flying wing" design?

Is there a kind of relay only consumes power when switching?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

What does "lightly crushed" mean for cardamon pods?

Do jazz musicians improvise on the parent scale in addition to the chord-scales?

Dating a Former Employee

Wu formula for manifolds with boundary

An adverb for when you're not exaggerating

Is it a good idea to use CNN to classify 1D signal?

Integration Help

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?



8 Prisoners wearing hats



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Four prisoners wearing black and white hatsThe sadistic executioner (a.k.a the 100 prisoners)1000 logicians wearing hatsThe 100 Hat RiddleOne Hundred Prisoners and a Rubik's CubeFive Prisoners wearing hatsHat puzzle - 7 prisonersGuessing hat colors. 4 prisoners6 prisoners, 2 colors, one muteAgain! 6 prisoners, 2 colors, one mute










5












$begingroup$


enter image description here



A warden lines up these prisoners. He announces, "I see a white hat." He then leaves the room. Every few minutes he comes back in and asks if anybody knows their hat color. Anyone who figured it out before the warden came back must announce "I do", after which he is freed. Everyone else must remain silent until the next visit. After a prisoner is freed, everyone else will know who was freed.



Assuming:



  • each prisoner knows that there are 8 prisoners (including themselves), each with a hat, lined up in this orientation

  • each prisoner can see the hat color of all the prisoners in front of them (not their own or those behind them)

  • the prisoners cannot move or communicate at all, beyond announcing to the warden that they know their hat color

  • each prisoner is a logician

Who (if any) figures out the color of their hat, and when?










share|improve this question











$endgroup$







  • 1




    $begingroup$
    There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    @JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
    $endgroup$
    – Bridgeburners
    6 hours ago











  • $begingroup$
    Doesn't change the logic.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    Do the remaining prisoners know who has figured out his hat, if behind him?
    $endgroup$
    – Weather Vane
    6 hours ago






  • 1




    $begingroup$
    Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
    $endgroup$
    – Punintended
    2 hours ago















5












$begingroup$


enter image description here



A warden lines up these prisoners. He announces, "I see a white hat." He then leaves the room. Every few minutes he comes back in and asks if anybody knows their hat color. Anyone who figured it out before the warden came back must announce "I do", after which he is freed. Everyone else must remain silent until the next visit. After a prisoner is freed, everyone else will know who was freed.



Assuming:



  • each prisoner knows that there are 8 prisoners (including themselves), each with a hat, lined up in this orientation

  • each prisoner can see the hat color of all the prisoners in front of them (not their own or those behind them)

  • the prisoners cannot move or communicate at all, beyond announcing to the warden that they know their hat color

  • each prisoner is a logician

Who (if any) figures out the color of their hat, and when?










share|improve this question











$endgroup$







  • 1




    $begingroup$
    There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    @JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
    $endgroup$
    – Bridgeburners
    6 hours ago











  • $begingroup$
    Doesn't change the logic.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    Do the remaining prisoners know who has figured out his hat, if behind him?
    $endgroup$
    – Weather Vane
    6 hours ago






  • 1




    $begingroup$
    Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
    $endgroup$
    – Punintended
    2 hours ago













5












5








5


2



$begingroup$


enter image description here



A warden lines up these prisoners. He announces, "I see a white hat." He then leaves the room. Every few minutes he comes back in and asks if anybody knows their hat color. Anyone who figured it out before the warden came back must announce "I do", after which he is freed. Everyone else must remain silent until the next visit. After a prisoner is freed, everyone else will know who was freed.



Assuming:



  • each prisoner knows that there are 8 prisoners (including themselves), each with a hat, lined up in this orientation

  • each prisoner can see the hat color of all the prisoners in front of them (not their own or those behind them)

  • the prisoners cannot move or communicate at all, beyond announcing to the warden that they know their hat color

  • each prisoner is a logician

Who (if any) figures out the color of their hat, and when?










share|improve this question











$endgroup$




enter image description here



A warden lines up these prisoners. He announces, "I see a white hat." He then leaves the room. Every few minutes he comes back in and asks if anybody knows their hat color. Anyone who figured it out before the warden came back must announce "I do", after which he is freed. Everyone else must remain silent until the next visit. After a prisoner is freed, everyone else will know who was freed.



Assuming:



  • each prisoner knows that there are 8 prisoners (including themselves), each with a hat, lined up in this orientation

  • each prisoner can see the hat color of all the prisoners in front of them (not their own or those behind them)

  • the prisoners cannot move or communicate at all, beyond announcing to the warden that they know their hat color

  • each prisoner is a logician

Who (if any) figures out the color of their hat, and when?







logical-deduction






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 6 hours ago







Bridgeburners

















asked 6 hours ago









BridgeburnersBridgeburners

1985




1985







  • 1




    $begingroup$
    There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    @JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
    $endgroup$
    – Bridgeburners
    6 hours ago











  • $begingroup$
    Doesn't change the logic.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    Do the remaining prisoners know who has figured out his hat, if behind him?
    $endgroup$
    – Weather Vane
    6 hours ago






  • 1




    $begingroup$
    Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
    $endgroup$
    – Punintended
    2 hours ago












  • 1




    $begingroup$
    There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    @JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
    $endgroup$
    – Bridgeburners
    6 hours ago











  • $begingroup$
    Doesn't change the logic.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago










  • $begingroup$
    Do the remaining prisoners know who has figured out his hat, if behind him?
    $endgroup$
    – Weather Vane
    6 hours ago






  • 1




    $begingroup$
    Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
    $endgroup$
    – Punintended
    2 hours ago







1




1




$begingroup$
There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
$endgroup$
– Jeff Zeitlin
6 hours ago




$begingroup$
There is insufficient information provided here. Do the prisoners know how many hats of each color there are?
$endgroup$
– Jeff Zeitlin
6 hours ago












$begingroup$
@JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
$endgroup$
– Bridgeburners
6 hours ago





$begingroup$
@JeffZeitlin EDIT: They know that there are 8 hats, but not how many of each color
$endgroup$
– Bridgeburners
6 hours ago













$begingroup$
Doesn't change the logic.
$endgroup$
– Jeff Zeitlin
6 hours ago




$begingroup$
Doesn't change the logic.
$endgroup$
– Jeff Zeitlin
6 hours ago












$begingroup$
Do the remaining prisoners know who has figured out his hat, if behind him?
$endgroup$
– Weather Vane
6 hours ago




$begingroup$
Do the remaining prisoners know who has figured out his hat, if behind him?
$endgroup$
– Weather Vane
6 hours ago




1




1




$begingroup$
Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
$endgroup$
– Punintended
2 hours ago




$begingroup$
Three logicians walk into a bar. The bartender asks, "Do you all want a drink?" The first one says "I don't know", the second says "I don't know", and the third says "Yes"
$endgroup$
– Punintended
2 hours ago










4 Answers
4






active

oldest

votes


















6












$begingroup$

Solution:




This is a variation on the blue-eyed islanders puzzle, with the added condition that some people can't see others.


If prisoner 1 saw only black hats, he"d know that his own hat was white and announce that on the warden's first visit. Since he doesn't do this, all prisoners now know that the is at least one white hat among prisoners 2-8.


If prisoner 2 saw only black hats, and if prisoner 1 hadn't been freed on the first visit, then he'd announce that his hat was white on the warden's second visit. Since he doesn't do this, all prisoners now know that there's at least one white hat among prisoners 3-8.


Following this logic, on the seventh visit, all prisoners know that there's at least one white hat among prisoners 7-8. Prisoner 7 sees a black hat and knows that his own hat is white. From this prisoner 8 knows that his hat is black on the eighth visit.


The remaining prisoners will never have enough information to deduce their hat color. In general, the only prisoners who can deduce their hat color are the rightmost white-hatted one and the prisoners to his right.


(If the warden is feeling generous, he can say, "I still see a white hat" on each visit and all the prisoners will eventually be freed.)




Edit:




The above assumes that the prisoners know that the hats are either black or white. That's not true in the puzzle as written - so prisoner 8 won't be freed; he knows that his hat isn't white but can't deduce what color it is.







share|improve this answer











$endgroup$








  • 1




    $begingroup$
    Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
    $endgroup$
    – Bridgeburners
    5 hours ago










  • $begingroup$
    perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
    $endgroup$
    – Ben Barden
    5 hours ago










  • $begingroup$
    Your edit is correct!
    $endgroup$
    – Bridgeburners
    5 hours ago


















0












$begingroup$


Since the prisoners do not know how many hats of each color there are, none of them can determine their hat color. The first prisoner (at the right) has no information other than that he is wearing a hat, and that he's first in line. The second prisoner knows that there are people behind him, and that he sees a black hat, but he has no way of knowing whether he has a white or black hat, because the white hat that the warden sees could be behind him, or it could be his. The other prisoners all see both black and white hats, but since they don't know how many of each there are, none of them can be sure of the color of the hat they are wearing.







share|improve this answer









$endgroup$








  • 1




    $begingroup$
    Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
    $endgroup$
    – Bridgeburners
    6 hours ago










  • $begingroup$
    Nope, doesn't change the logic one whit.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago


















0












$begingroup$


Because all of the prisoners are logicians, they deduce it best to let the last person in line answer. Initially, the last prisoner in line can deduce his hat color because he can see the other 7 prisoners and the orientation and color of the hats, so he is the first to leave. Sequentially, whomever becomes the last in line will then speak up when the warden returns. Eventually we're left with the first three prisoners in the original line-up because for the last in line the color is known but the orientation could be missed. Thus, each are left with a 50-50 chance of getting the color right. So they may play the odds and let the last person answer again and risk going free or staying in jail.







share|improve this answer








New contributor




BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




















    0












    $begingroup$

    I can't comment yet so, is the assumption OP mentioned below the accepted answer:




    The prisoners can trust the warden's statement to be true?







    share|improve this answer









    $endgroup$












    • $begingroup$
      This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
      $endgroup$
      – North
      2 hours ago











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "559"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f81904%2f8-prisoners-wearing-hats%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6












    $begingroup$

    Solution:




    This is a variation on the blue-eyed islanders puzzle, with the added condition that some people can't see others.


    If prisoner 1 saw only black hats, he"d know that his own hat was white and announce that on the warden's first visit. Since he doesn't do this, all prisoners now know that the is at least one white hat among prisoners 2-8.


    If prisoner 2 saw only black hats, and if prisoner 1 hadn't been freed on the first visit, then he'd announce that his hat was white on the warden's second visit. Since he doesn't do this, all prisoners now know that there's at least one white hat among prisoners 3-8.


    Following this logic, on the seventh visit, all prisoners know that there's at least one white hat among prisoners 7-8. Prisoner 7 sees a black hat and knows that his own hat is white. From this prisoner 8 knows that his hat is black on the eighth visit.


    The remaining prisoners will never have enough information to deduce their hat color. In general, the only prisoners who can deduce their hat color are the rightmost white-hatted one and the prisoners to his right.


    (If the warden is feeling generous, he can say, "I still see a white hat" on each visit and all the prisoners will eventually be freed.)




    Edit:




    The above assumes that the prisoners know that the hats are either black or white. That's not true in the puzzle as written - so prisoner 8 won't be freed; he knows that his hat isn't white but can't deduce what color it is.







    share|improve this answer











    $endgroup$








    • 1




      $begingroup$
      Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
      $endgroup$
      – Bridgeburners
      5 hours ago










    • $begingroup$
      perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
      $endgroup$
      – Ben Barden
      5 hours ago










    • $begingroup$
      Your edit is correct!
      $endgroup$
      – Bridgeburners
      5 hours ago















    6












    $begingroup$

    Solution:




    This is a variation on the blue-eyed islanders puzzle, with the added condition that some people can't see others.


    If prisoner 1 saw only black hats, he"d know that his own hat was white and announce that on the warden's first visit. Since he doesn't do this, all prisoners now know that the is at least one white hat among prisoners 2-8.


    If prisoner 2 saw only black hats, and if prisoner 1 hadn't been freed on the first visit, then he'd announce that his hat was white on the warden's second visit. Since he doesn't do this, all prisoners now know that there's at least one white hat among prisoners 3-8.


    Following this logic, on the seventh visit, all prisoners know that there's at least one white hat among prisoners 7-8. Prisoner 7 sees a black hat and knows that his own hat is white. From this prisoner 8 knows that his hat is black on the eighth visit.


    The remaining prisoners will never have enough information to deduce their hat color. In general, the only prisoners who can deduce their hat color are the rightmost white-hatted one and the prisoners to his right.


    (If the warden is feeling generous, he can say, "I still see a white hat" on each visit and all the prisoners will eventually be freed.)




    Edit:




    The above assumes that the prisoners know that the hats are either black or white. That's not true in the puzzle as written - so prisoner 8 won't be freed; he knows that his hat isn't white but can't deduce what color it is.







    share|improve this answer











    $endgroup$








    • 1




      $begingroup$
      Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
      $endgroup$
      – Bridgeburners
      5 hours ago










    • $begingroup$
      perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
      $endgroup$
      – Ben Barden
      5 hours ago










    • $begingroup$
      Your edit is correct!
      $endgroup$
      – Bridgeburners
      5 hours ago













    6












    6








    6





    $begingroup$

    Solution:




    This is a variation on the blue-eyed islanders puzzle, with the added condition that some people can't see others.


    If prisoner 1 saw only black hats, he"d know that his own hat was white and announce that on the warden's first visit. Since he doesn't do this, all prisoners now know that the is at least one white hat among prisoners 2-8.


    If prisoner 2 saw only black hats, and if prisoner 1 hadn't been freed on the first visit, then he'd announce that his hat was white on the warden's second visit. Since he doesn't do this, all prisoners now know that there's at least one white hat among prisoners 3-8.


    Following this logic, on the seventh visit, all prisoners know that there's at least one white hat among prisoners 7-8. Prisoner 7 sees a black hat and knows that his own hat is white. From this prisoner 8 knows that his hat is black on the eighth visit.


    The remaining prisoners will never have enough information to deduce their hat color. In general, the only prisoners who can deduce their hat color are the rightmost white-hatted one and the prisoners to his right.


    (If the warden is feeling generous, he can say, "I still see a white hat" on each visit and all the prisoners will eventually be freed.)




    Edit:




    The above assumes that the prisoners know that the hats are either black or white. That's not true in the puzzle as written - so prisoner 8 won't be freed; he knows that his hat isn't white but can't deduce what color it is.







    share|improve this answer











    $endgroup$



    Solution:




    This is a variation on the blue-eyed islanders puzzle, with the added condition that some people can't see others.


    If prisoner 1 saw only black hats, he"d know that his own hat was white and announce that on the warden's first visit. Since he doesn't do this, all prisoners now know that the is at least one white hat among prisoners 2-8.


    If prisoner 2 saw only black hats, and if prisoner 1 hadn't been freed on the first visit, then he'd announce that his hat was white on the warden's second visit. Since he doesn't do this, all prisoners now know that there's at least one white hat among prisoners 3-8.


    Following this logic, on the seventh visit, all prisoners know that there's at least one white hat among prisoners 7-8. Prisoner 7 sees a black hat and knows that his own hat is white. From this prisoner 8 knows that his hat is black on the eighth visit.


    The remaining prisoners will never have enough information to deduce their hat color. In general, the only prisoners who can deduce their hat color are the rightmost white-hatted one and the prisoners to his right.


    (If the warden is feeling generous, he can say, "I still see a white hat" on each visit and all the prisoners will eventually be freed.)




    Edit:




    The above assumes that the prisoners know that the hats are either black or white. That's not true in the puzzle as written - so prisoner 8 won't be freed; he knows that his hat isn't white but can't deduce what color it is.








    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 5 hours ago

























    answered 6 hours ago









    MazementMazement

    1263




    1263







    • 1




      $begingroup$
      Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
      $endgroup$
      – Bridgeburners
      5 hours ago










    • $begingroup$
      perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
      $endgroup$
      – Ben Barden
      5 hours ago










    • $begingroup$
      Your edit is correct!
      $endgroup$
      – Bridgeburners
      5 hours ago












    • 1




      $begingroup$
      Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
      $endgroup$
      – Bridgeburners
      5 hours ago










    • $begingroup$
      perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
      $endgroup$
      – Ben Barden
      5 hours ago










    • $begingroup$
      Your edit is correct!
      $endgroup$
      – Bridgeburners
      5 hours ago







    1




    1




    $begingroup$
    Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
    $endgroup$
    – Bridgeburners
    5 hours ago




    $begingroup$
    Nice! That was very fast, I guess my riddle isn't very good, haha. But you got one small thing wrong. I'm still inclined to accept this, because you did all the important logical legwork. But you're making one small assumption that I didn't provide.
    $endgroup$
    – Bridgeburners
    5 hours ago












    $begingroup$
    perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
    $endgroup$
    – Ben Barden
    5 hours ago




    $begingroup$
    perhaps that they don't declare the color of their own hat, but merely that they know what their hat color is?
    $endgroup$
    – Ben Barden
    5 hours ago












    $begingroup$
    Your edit is correct!
    $endgroup$
    – Bridgeburners
    5 hours ago




    $begingroup$
    Your edit is correct!
    $endgroup$
    – Bridgeburners
    5 hours ago











    0












    $begingroup$


    Since the prisoners do not know how many hats of each color there are, none of them can determine their hat color. The first prisoner (at the right) has no information other than that he is wearing a hat, and that he's first in line. The second prisoner knows that there are people behind him, and that he sees a black hat, but he has no way of knowing whether he has a white or black hat, because the white hat that the warden sees could be behind him, or it could be his. The other prisoners all see both black and white hats, but since they don't know how many of each there are, none of them can be sure of the color of the hat they are wearing.







    share|improve this answer









    $endgroup$








    • 1




      $begingroup$
      Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
      $endgroup$
      – Bridgeburners
      6 hours ago










    • $begingroup$
      Nope, doesn't change the logic one whit.
      $endgroup$
      – Jeff Zeitlin
      6 hours ago















    0












    $begingroup$


    Since the prisoners do not know how many hats of each color there are, none of them can determine their hat color. The first prisoner (at the right) has no information other than that he is wearing a hat, and that he's first in line. The second prisoner knows that there are people behind him, and that he sees a black hat, but he has no way of knowing whether he has a white or black hat, because the white hat that the warden sees could be behind him, or it could be his. The other prisoners all see both black and white hats, but since they don't know how many of each there are, none of them can be sure of the color of the hat they are wearing.







    share|improve this answer









    $endgroup$








    • 1




      $begingroup$
      Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
      $endgroup$
      – Bridgeburners
      6 hours ago










    • $begingroup$
      Nope, doesn't change the logic one whit.
      $endgroup$
      – Jeff Zeitlin
      6 hours ago













    0












    0








    0





    $begingroup$


    Since the prisoners do not know how many hats of each color there are, none of them can determine their hat color. The first prisoner (at the right) has no information other than that he is wearing a hat, and that he's first in line. The second prisoner knows that there are people behind him, and that he sees a black hat, but he has no way of knowing whether he has a white or black hat, because the white hat that the warden sees could be behind him, or it could be his. The other prisoners all see both black and white hats, but since they don't know how many of each there are, none of them can be sure of the color of the hat they are wearing.







    share|improve this answer









    $endgroup$




    Since the prisoners do not know how many hats of each color there are, none of them can determine their hat color. The first prisoner (at the right) has no information other than that he is wearing a hat, and that he's first in line. The second prisoner knows that there are people behind him, and that he sees a black hat, but he has no way of knowing whether he has a white or black hat, because the white hat that the warden sees could be behind him, or it could be his. The other prisoners all see both black and white hats, but since they don't know how many of each there are, none of them can be sure of the color of the hat they are wearing.








    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered 6 hours ago









    Jeff ZeitlinJeff Zeitlin

    2,955824




    2,955824







    • 1




      $begingroup$
      Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
      $endgroup$
      – Bridgeburners
      6 hours ago










    • $begingroup$
      Nope, doesn't change the logic one whit.
      $endgroup$
      – Jeff Zeitlin
      6 hours ago












    • 1




      $begingroup$
      Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
      $endgroup$
      – Bridgeburners
      6 hours ago










    • $begingroup$
      Nope, doesn't change the logic one whit.
      $endgroup$
      – Jeff Zeitlin
      6 hours ago







    1




    1




    $begingroup$
    Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
    $endgroup$
    – Bridgeburners
    6 hours ago




    $begingroup$
    Sorry, I edited my comment, and added a fourth bullet point. Each prisoner knows how many hats there are, and they know that they are in the given lineup. But they don't know how many hats of each color there are. Maybe that new information updates your answer.
    $endgroup$
    – Bridgeburners
    6 hours ago












    $begingroup$
    Nope, doesn't change the logic one whit.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago




    $begingroup$
    Nope, doesn't change the logic one whit.
    $endgroup$
    – Jeff Zeitlin
    6 hours ago











    0












    $begingroup$


    Because all of the prisoners are logicians, they deduce it best to let the last person in line answer. Initially, the last prisoner in line can deduce his hat color because he can see the other 7 prisoners and the orientation and color of the hats, so he is the first to leave. Sequentially, whomever becomes the last in line will then speak up when the warden returns. Eventually we're left with the first three prisoners in the original line-up because for the last in line the color is known but the orientation could be missed. Thus, each are left with a 50-50 chance of getting the color right. So they may play the odds and let the last person answer again and risk going free or staying in jail.







    share|improve this answer








    New contributor




    BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    $endgroup$

















      0












      $begingroup$


      Because all of the prisoners are logicians, they deduce it best to let the last person in line answer. Initially, the last prisoner in line can deduce his hat color because he can see the other 7 prisoners and the orientation and color of the hats, so he is the first to leave. Sequentially, whomever becomes the last in line will then speak up when the warden returns. Eventually we're left with the first three prisoners in the original line-up because for the last in line the color is known but the orientation could be missed. Thus, each are left with a 50-50 chance of getting the color right. So they may play the odds and let the last person answer again and risk going free or staying in jail.







      share|improve this answer








      New contributor




      BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      $endgroup$















        0












        0








        0





        $begingroup$


        Because all of the prisoners are logicians, they deduce it best to let the last person in line answer. Initially, the last prisoner in line can deduce his hat color because he can see the other 7 prisoners and the orientation and color of the hats, so he is the first to leave. Sequentially, whomever becomes the last in line will then speak up when the warden returns. Eventually we're left with the first three prisoners in the original line-up because for the last in line the color is known but the orientation could be missed. Thus, each are left with a 50-50 chance of getting the color right. So they may play the odds and let the last person answer again and risk going free or staying in jail.







        share|improve this answer








        New contributor




        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        $endgroup$




        Because all of the prisoners are logicians, they deduce it best to let the last person in line answer. Initially, the last prisoner in line can deduce his hat color because he can see the other 7 prisoners and the orientation and color of the hats, so he is the first to leave. Sequentially, whomever becomes the last in line will then speak up when the warden returns. Eventually we're left with the first three prisoners in the original line-up because for the last in line the color is known but the orientation could be missed. Thus, each are left with a 50-50 chance of getting the color right. So they may play the odds and let the last person answer again and risk going free or staying in jail.








        share|improve this answer








        New contributor




        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 5 hours ago









        BDroughtBDrought

        214




        214




        New contributor




        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        BDrought is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





















            0












            $begingroup$

            I can't comment yet so, is the assumption OP mentioned below the accepted answer:




            The prisoners can trust the warden's statement to be true?







            share|improve this answer









            $endgroup$












            • $begingroup$
              This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
              $endgroup$
              – North
              2 hours ago















            0












            $begingroup$

            I can't comment yet so, is the assumption OP mentioned below the accepted answer:




            The prisoners can trust the warden's statement to be true?







            share|improve this answer









            $endgroup$












            • $begingroup$
              This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
              $endgroup$
              – North
              2 hours ago













            0












            0








            0





            $begingroup$

            I can't comment yet so, is the assumption OP mentioned below the accepted answer:




            The prisoners can trust the warden's statement to be true?







            share|improve this answer









            $endgroup$



            I can't comment yet so, is the assumption OP mentioned below the accepted answer:




            The prisoners can trust the warden's statement to be true?








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 5 hours ago









            kalensckalensc

            112




            112











            • $begingroup$
              This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
              $endgroup$
              – North
              2 hours ago
















            • $begingroup$
              This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
              $endgroup$
              – North
              2 hours ago















            $begingroup$
            This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
            $endgroup$
            – North
            2 hours ago




            $begingroup$
            This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
            $endgroup$
            – North
            2 hours ago

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Puzzling Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f81904%2f8-prisoners-wearing-hats%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to create a command for the “strange m” symbol in latex? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How do you make your own symbol when Detexify fails?Writing bold small caps with mathpazo packageplus-minus symbol with parenthesis around the minus signGreek character in Beamer document titleHow to create dashed right arrow over symbol?Currency symbol: Turkish LiraDouble prec as a single symbol?Plus Sign Too Big; How to Call adfbullet?Is there a TeX macro for three-legged pi?How do I get my integral-like symbol to align like the integral?How to selectively substitute a letter with another symbol representing the same letterHow do I generate a less than symbol and vertical bar that are the same height?

            Българска екзархия Съдържание История | Български екзарси | Вижте също | Външни препратки | Литература | Бележки | НавигацияУстав за управлението на българската екзархия. Цариград, 1870Слово на Ловешкия митрополит Иларион при откриването на Българския народен събор в Цариград на 23. II. 1870 г.Българската правда и гръцката кривда. От С. М. (= Софийски Мелетий). Цариград, 1872Предстоятели на Българската екзархияПодмененият ВеликденИнформационна агенция „Фокус“Димитър Ризов. Българите в техните исторически, етнографически и политически граници (Атлас съдържащ 40 карти). Berlin, Königliche Hoflithographie, Hof-Buch- und -Steindruckerei Wilhelm Greve, 1917Report of the International Commission to Inquire into the Causes and Conduct of the Balkan Wars

            Чепеларе Съдържание География | История | Население | Спортни и природни забележителности | Културни и исторически обекти | Религии | Обществени институции | Известни личности | Редовни събития | Галерия | Източници | Литература | Външни препратки | Навигация41°43′23.99″ с. ш. 24°41′09.99″ и. д. / 41.723333° с. ш. 24.686111° и. д.*ЧепелареЧепеларски Linux fest 2002Начало на Зимен сезон 2005/06Национални хайдушки празници „Капитан Петко Войвода“Град ЧепелареЧепеларе – народният ски курортbgrod.orgwww.terranatura.hit.bgСправка за населението на гр. Исперих, общ. Исперих, обл. РазградМузей на родопския карстМузей на спорта и скитеЧепеларебългарскибългарскианглийскитукИстория на градаСки писти в ЧепелареВремето в ЧепелареРадио и телевизия в ЧепелареЧепеларе мами с родопски чар и добри пистиЕвтин туризъм и снежни атракции в ЧепелареМестоположениеИнформация и снимки от музея на родопския карст3D панорами от ЧепелареЧепелареррр