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

I have 50 feet long of cloth, I need to create 50 handkerchiefs each size of 1 foot. I take one minute to cut a 1-foot handkerchief. So how long will it take to cut 50 handkerchiefs?

Asked by Neha on 05 Sep 2024


What is so fragile that saying its name breaks it?

Asked by Neha on 19 Oct 2021

Jack have ten pairs of black socks, eight pairs of white socks and seven pairs of green socks. Everything is mixed in a draw. As there is no light he were not able to identify the colour of the socks. How many of the socks did he want to take to match one pair

Asked by Neha on 19 Aug 2021


A kind heart person buy packed food at 3$/packet from United states and sells them at 1$/packet at Africa. After some time he becomes a millionaire.

How come the guy become millionaire ?

Asked by Neha on 30 Jan 2023

An infinite number of mathematicians are standing behind a bar. The first asks the barman for half a pint of beer, the second for a quarter pint, the third an eighth, and so on. How many pints of beer will the barman need to fulfill all mathematicians' wishes?

Asked by Neha on 26 Feb 2023

You knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


Which is the correct shadow of the bird?

Correct Shadow Riddle

Asked by Neha on 23 Aug 2021

I am a word of 12 alphabets.

* Alphabets 12, 4, 7, 2, 5 : Eastern beast of burden
* Alphabets 1, 8, 10, 9 are street made famous by Sinclair Lewis.
* Alphabets 11, 3, 6 are past.

On whole it means a person suffering from delusions of greatness.

What Is it ?

Asked by Neha on 05 Jul 2021

Can you find the odd number in the following?

2716, 4135, 5321 and 7145

Asked by Neha on 30 Mar 2023


Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 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.