All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic
Hats and alligators (Posted on 2006-07-15) Difficulty: 4 of 5
A group of prisoners is under sentence of death and the warder decides to give them a test to gain their freedom. He tells them, "I will place a red or blue hat on each of your heads and then I'm going to arrange you in random order in a row so that no prisoner will be able to see his own hat but each one will see all the hats in front of him. Starting with the guy at the back each of you in turn must loudly say what color hat you think you have. Correct answers will go free, incorrect ones will be thrown to the alligators in the moat. I will give you time for a brief meeting before we start, so you can plan your optimum strategy."

What strategy can the prisoners - there are N of them - adopt to improve their odds above 50:50?

Hint: They need to agree on a strategy which allows each person to identify his/her own hat while simultaneously providing as much information as possible for all those in front.

No Solution Yet Submitted by JayDeeKay    
Rating: 4.4000 (5 votes)

Comments: ( You must be logged in to post comments.)
  Subject Author Date
solution...ritesh2007-11-14 02:33:29
MY SOLUTIONLeigh Lillico2006-10-13 19:04:27
No Subjectthegnome542006-07-28 00:28:17
re: Solution (this is clearly right)andy burnes2006-07-25 19:27:26
A 0.5:N chance to live...Roger2006-07-21 17:01:07
SolutionSolution (this is clearly right)Bob2006-07-21 00:13:43
Solutionminebhargavi2006-07-19 03:43:52
Matter of TrustPatrick2006-07-18 13:06:46
No SubjectJayDeeKay2006-07-17 13:18:44
My SolutionMichael Wong2006-07-17 01:36:26
My SolutionAlexis2006-07-16 03:37:22
Solutionre: SolutionFederico Kereki2006-07-15 19:17:37
No SubjectTomriddle2006-07-15 17:24:45
re: SolutionDej Mar2006-07-15 14:13:58
Solutionre: Solution (fixed)Steve Herman2006-07-15 14:10:37
SolutionSolutionOld Original Oskar!2006-07-15 12:54:33
re: Thoughts. (Spoiler?) Question.Dej Mar2006-07-15 11:50:48
SolutionA possible solution (spoiler)Dej Mar2006-07-15 11:31:29
Thoughts. (Spoiler?) Question.Steve Herman2006-07-15 11:07:07
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2020 by Animus Pactum Consulting. All rights reserved. Privacy Information