Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.

"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

A dying old man wants to divide his entire land between his only two sons. Since his only wish is to treat them as equal as both of them have been too good to him, he wants to divide his land equally between them. The problem is that the land is significantly irregular in shape and thus there is no choice of cutting them into two equal halves.

Can you help him divide the land in a manner that both of his sons will be happy?

Asked by Neha on 20 Jun 2023


Four friends are sitting on a tree. Each one of them is wearing a hat. They don't know which coloured hat are they wearing but they do know that two of them have green hats and two of them have orange hats.

Adam is sitting on the top branch and he can see the hats of Billy and Cyrus. Billy is sitting on a branch above Cyrus and he can see Cyrus hat. Duke is sitting at the base of the tree. Branches are covering him fully and no one can see his hat.

Now they are not allowed to look upwards. Who do you think will shout the colour of his hat first?

Asked by Neha on 11 Jul 2026

What does an Island and the letter T have in common?

Asked by Neha on 18 Feb 2023


What does this mean?
N
A
E
L
C

Asked by Neha on 10 Aug 2026

In a basket of apples,
when counted in twos, there was one extra
when counted in threes, there were two extra when counted in fours, there were three extra
when counted in fives, there were four extra
when counted in sixes, there was five extra.

However, if the apples were counted in sevens, no extra apple was left. Can you calculate the minimum number of apples that were present in the basket?

Asked by Neha on 12 Sep 2023

What does this Rebus Picture means ?

Rebus riddle with Show on the side

Asked by Neha on 23 Apr 2021


Bea Smith, Vera Bennett, Franky Doyle and Doreen Anderson were in Wentworth Prison for murder. But their behaviour in the jails is appreciated by the warden and the warden decided to give all these 4 prisoners 11 cupcakes. They all like cupcakes and they had all cupcakes in no matter of time but they do not know how many cupcakes each individual had. Therefore Bea started the conversation Bea: "Hey T-Vera, did you have more cupcakes than I had ?"Vera: "I do not know girl, Hey Franky, did you have more cupcakes than I had ?".Franky: "I do not know"Doreen replied instantly: "I know how exactly how many cupcakes each of you had?" So can you tell how many cupcakes each of them had?

Asked by Neha on 21 Jul 2026

In an Art Gallary, When the clock hit 11 am, Artist hung the painting number 30. When it struck 4 pm, he hung painting number 240 and when it struck 7:30 pm, he hung painting number 315.

Can you determine, which painting number will he hang when the time is 9:20 pm?

Asked by Neha on 18 Sep 2025

Do You See It?

Do You See It?

Asked by Neha on 17 Feb 2022


Where do you go to learn how to make ice cream?

Asked by Neha on 07 Aug 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.