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 does this below rebus represent identXQQQQQME

Rebus representation

Asked by Neha on 29 Jan 2025


Can you complete the sequence?

192, 021, 222, 324, 252, 627, 2__, 9__?

Asked by Neha on 07 Nov 2025

Below toothpicks/matchsticks indicate the group of fishes moving from west to east direction. Can you make them move from east to west by just moving three toothpicks/matchsticks?


Floating Fish

Asked by Neha on 14 May 2021


Using exactly three matchsticks, can you divide the area into two equal parts?

Area Division with matchsticks Riddle

Asked by Neha on 20 Jul 2026

Can you spot what's wrong with the following sentence?

PETER WAS ANGRY AT
HIMSELF BECAUSE HE
ACCIDENTALLY LEFT THE
THE KEYS TO HIS CAR
AT HIS FRIEND'S HOUSE.

Asked by Neha on 03 May 2022

People put me on the table and cut me but do not eat me. What am I?

Asked by Neha on 09 Jul 2024


Spelt forwards I’m what you do every day, spelled backwards I’m something you hate. What am I?

Asked by Neha on 26 Jul 2025

John, a 5-year-old boy, was really fond of the chocolates. He asked his Mother to give him some money to buy his favourite chocolates. His Mother gave him $45. He went to the shopkeeper and asked, "How much is one chocolate for?". The shopkeeper said $3 for one chocolate. Also, if you give me the wrappers of three chocolates, I will give you one for the exchange.
In total, how much chocolate could John eat?

Asked by Neha on 02 Feb 2026

Find the last number in the series below:

voN luJ yaM raM ---

Asked by Neha on 05 Jun 2023


How many times in a given day, minutes and hour clock comes in a straight line ?

Asked by Neha on 03 Mar 2023

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.