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

They are the five precious gems of an everyday sort and all can be found on a Tennis Court. Who are they?

Asked by Neha on 21 Apr 2024


Find the 8 in the below-given Image.

Asked by Neha on 24 Feb 2025

What has one eye, but can’t see?

Asked by Neha on 16 Jul 2025


Replace the question mark with the number below given a simple math problem.

Fill the Question Mark

Asked by Neha on 03 Dec 2024

John left on a horse on Thursday , was gone for two days, and came back on Thursday after completing his work. How did that happen?

Asked by Neha on 23 Feb 2021

If you’ve got me, you want to share me; if you share me, you haven’t kept me. What am I?

Asked by Neha on 18 Feb 2022


If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023

A bag contains 64 balls of eight different colours. There are eight of each colour (including red). What is the least number you would have to pick, without looking, to be sure of selecting 3 red balls?

Asked by Neha on 30 Apr 2022

4 fathers, 2 grand-fathers and 4 sons went to watch the movie.What is the minimum number of tickets they need to buy ?

Asked by Neha on 04 Jan 2024


A beggar on the street can make one cigarette out of every 6 cigarette butts he finds. After one whole day of searching and checking public ashtrays the beggar finds a total of 72 cigarette butts. How many cigarettes can he make and smoke from the butts he found?

Asked by Neha on 29 May 2024

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki