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

Peter wakes up daily to pick up his cycle and crosses the border between Spain and France daily with a bag on his shoulder. He is investigated daily by the officials but they don't find anything suspicious.

If we tell you that he is smuggling something what would it be?

Asked by Neha on 25 Jun 2024


Next Number in the Series,

5, 16, 49, 104, ?

Asked by Neha on 31 Dec 2025

Three friends decide to distribute the soda cans they had among them. When all of them had drunk four cans each, the total number of cans that remained was equal to the cans each one of them had after they had divided the cans.

Can you calculate the total number of cans before distribution?

Asked by Neha on 12 May 2025


Can you circle exactly four of these numbers such that the total is twelve?

1 6 1
6 1 6
1 6 1
6 1 6

Asked by Neha on 27 Apr 2023

A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 07 Apr 2022

This is a simple one. You just have to count the number of Fs in the given sentence.

Finished Files are the result of years of scientific study combined with the experience of years.

How many did you count?

Asked by Neha on 02 Oct 2024


A man is found dead with a knife in his back When the investigation is done. A chair lays beside him and the forensic team finds moisture around the body.

If he committed suicide, how did he do it?

Asked by Neha on 29 Nov 2025

While house hunting in London, I came across a very good leasehold property Discussing the lease the landlady told me:

'The property was originally on a 99 years lease and two-thirds of the time passed is equal to four-fifths of the time to come. Now work it out for yourself and see how many years are to go!

Asked by Neha on 18 Apr 2022

I’m tall when I’m young, and I’m short when I’m old. What am I?

Asked by Neha on 07 May 2022


Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.