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

What three numbers, none of which is zero, give the same result whether they’re added or multiplied?

Asked by Neha on 26 Feb 2022


Can you find the key in the picture below?

Find the Key

Asked by Neha on 07 Apr 2024

There are two words one resembles the "state of rest" and the other is related to "writing/reading material".

Can you name these two words which also sound similar?

Asked by Neha on 21 May 2024


In the image below, you can see two glasses and two matchsticks.You need to move four matchsticks in such a manner that the crosses come inside the glasses. Note: you cannot move the crossed.

Fun With Matchsticks

Asked by Neha on 13 Dec 2023

A woman lives in a Tall building thirty-six floors high and served by several elevators which stop at each floor going up and down. Each morning she leaves her apartment and goes to one of the elevators. Whichever one she takes is three times more likely to be going up than down. Why?

Asked by Neha on 04 Oct 2023

The first box has two white balls. The second box has two black balls. The third box has a white and a black ball.

Boxes are labeled but all labels are wrong!

You are allowed to open one box, pick one ball at random, see its colour and put it back into the box, without seeing the colour of the other ball.

How many such operations are necessary to correctly label the boxes?

Asked by Neha on 24 Jun 2021


Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Mar 2022

I go up and I go down.
I go up towards the beautiful sky and down toward the green ground.
I am present tense.
I am past tense too
Children love me.

Who Am I?

Asked by Neha on 16 Jan 2025

The Little ant seems to be always confused. Do you know why?

Asked by Neha on 26 May 2024


What is wrong in the below Picture?

Find the wrong in Picture

Asked by Neha on 12 Feb 2023

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.