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

Can you find the ages of a son, father and grandfather based on the following facts?
The sum of the ages of grandfather, father and son is 140 years.
The age of the son in months is the same as the grandfather in years.
The age of the son in days is the same as the father in weeks.

Asked by Neha on 29 Jan 2024


There are three boxes. One is labeled "APPLES" another is labeled "ORANGES". The last one is labeled "APPLES AND ORANGES". You know that each is labeled incorrectly. You may ask me to pick one fruit from one box which you choose.

How can you label the boxes correctly?

Asked by Neha on 07 Sep 2021

A deaf and mute man goes to the train station. Tickets for the train are 50 cents each. The man goes to the ticket booth and hands the man inside just a dollar. The man in the booth hands him two tickets.

How did the man in the booth know to give him two tickets without even looking at him?

deaf and mute man at train station riddle

Asked by Neha on 14 Mar 2021


In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 2023

There are seven sisters in a house in a village where there is no electricity or any gadget.

Sister-1: Reading Novel
Sister-2: Cooking
Sister-3: Playing Chess
Sister-4: Playing Sudoku
Sister-5: Washing clothes
Sister-6: Gardening

what is Sister-7 doing ?

Asked by Neha on 26 Jan 2025

2, 3, 5, 9, 17, _ What is the next number in the sequence?

Asked by Neha on 09 Oct 2021


Can you count the number of squares in the given picture?

How Many Squares you Find

Asked by Neha on 13 Feb 2024

Give it food and it will live; give it water and it will die.

Asked by Neha on 17 Dec 2023

What do you call a fish without an eye?

Asked by Neha on 21 Apr 2023


Create a number using only the digits 4,4,3,3,2,2,1 and 1. So i can only be eight digits. You have to make sure the ones are separated by one digit, the twos are separated by two digits the threes are separated with three digits and the fours are separated by four digits

Asked by Neha on 16 Sep 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.