wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> hard >> Prisoner guessing game (harder version)
(Message started by: wonderful on May 3rd, 2008, 7:25pm)

Title: Prisoner guessing game (harder version)
Post by wonderful on May 3rd, 2008, 7:25pm
Note in this version: there are three colors for hats; the prisoners are asked from the first to infinity; they couldn't hear other answers.

Infinite number of  prisoners are placed in a line, facing forward so they can see everyone in front of them in line.  The warden will place either a  red, white, or green hat on each prisoner’s head, and then starting from the beginning of the line, he will ask each prisoner what the color of his own hat is (ie, he first asks the person who can see all other prisoners).  Any prisoner who is correct may go free.  No prisoner can hear everyone else’s guesses.  If all the prisoners can agree on a strategy beforehand, what is the best strategy?

Have A Great Day!

Title: Re: Prisoner guessing game (harder version)
Post by Hippo on May 4th, 2008, 3:23am
Does the prisoners receive any information ... does they know at leat the answer was OK?

Otherwise the order of answers is irrelevant and you can solve easier riddle ... answering in the reverse order ... the one knowing nothing first. I don't thing for random sequence of hat colors a strategy can save more than 100/3 in average.

Title: Re: Prisoner guessing game (harder version)
Post by wonderful on May 6th, 2008, 1:50am
Thanks Hippo. I editted the question to make it solvable. You might consider [hide]"Axiom of choice".[/hide]

Have A Great Day!

Title: Re: Prisoner guessing game (harder version)
Post by temporary on May 6th, 2008, 5:04pm
Is their strategy to each individually want to go free or to maximize total freedom? If they wish to maximize freedom, they could just guess randomly and get infinite free prisoners.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board