sigizmund.com
A problem for real engineers
On the first of september 100 immortal prisoners with a life sentence are suggested an early release if they can find a solution to a problem.
There’s a room with a hanging lightbulb. Every day, starting on the 1st of September, warder will let one prisoner into this room. When prisoner is in, he can see, whether lamp is on or off, or switch it. Each prisoner will be asked a question: “Whether every prisoner has been here?”. If he says “no”, game goes one. If he says yes and this is a correct answer, everyone is released. If he says yes and he’s wrong – everyone is executed. Warders can choose prisoners randomly, one prisoner can be choose as many times as warder wants. Prisoners do not see each other, cannot talk and cannot see the lightbulb; they can talk only once – on the 1st of September, before the game starts. Find an optimal strategy, estimate, how long it may take for prisoners to be released.6 Responses to A problem for real engineers
Leave a Reply Cancel reply
-
Categories
-
Calendar
May 2012 M T W T F S S « Feb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -
Meta





Prison repr. turns light off.Each of the others toggles it on just once.If light on whn repr. back,add +1 to num of prisoners.
I assume prisoners can talk to each other to elect/select a leader before the thing starts.
Yep, that’s a correct answer :)
How long will it take? Too f*ckin long! ;)
They’re immortal – and all serve their life sentences, so don’t think they care as long as it’ll get them out eventually!
Well I guess you could calc the time by assumin a uniform distrib of call freq to the leader,n using Bayesian inference.But cant be bothered.