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

An office is divided into 8 cubicles. How many of the cubicles are painted if only 1/8 of the cubicles are painted?

Asked by Neha on 23 Feb 2022


Can you move 2 matchsticks to form four equal sized squares.

Make four Square Riddle

Asked by Neha on 17 Dec 2020

Double it and multiply it by 4. Then divide it by 8 and you’ll have it once more. What number is it?

Asked by Neha on 23 Oct 2025


Find three numbers such that

* When we multiply three numbers, we will get the prime numbers.
* The difference between the second and the first number is equal to the third and second.

Asked by Neha on 12 Jul 2024

There are three Athletes (John, Tarun and Harish) and their individual Coaches (Jacob, Meenaxi and Priyanka) standing on the shore.
No Coach trusts their Athlete to be near any other Coach unless they are also with them.
There is a boat that can hold a maximum of two persons.
How can the six people get across the river?

Asked by Neha on 05 Feb 2025

Find the next number in the series below

21 32 54 87 131 ?

Asked by Neha on 16 Nov 2023


A crime was committed at baker street. Ibrahim Dakota who was shot in the stomach was the main suspect. Sherlock questioned the suspect. The conversation started as:
Sherlock: What's your story, Ibrahim?
Ibrahim: I was walking around baker street and suddenly a man from the back shot me. I ran as fast as I could to save my life".
Sherlock: That is enough (and ask the police to arrest him).

Why does Sherlock think he is the murderer?

Asked by Neha on 25 Apr 2025

Solve the equation by replacing the alphabet with numbers.

MOM + MOM + NO = BOOK=

Asked by Neha on 06 Aug 2023

John can eat 27 chocolates in an hour, Jacob can eat 2 chocolates in 10 minutes, and Jolly can eat 7 chocolates in 20 minutes. How long will it take them to share and eat a box of 120 chocolates whilst playing Chess?

Asked by Neha on 09 Sep 2024


Akbar called Birbal and asked him to draw a line on the floor. He asked Birbal to make that line smaller without erasing it. Birbal smiled and did it before Akbar could blink his eyes.

How did he managed to do it?

Akbar Birbal line on the floor riddle

Asked by Neha on 07 May 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.