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 mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?

Asked by Neha on 20 Sep 2021


If your uncle’s sister is not your aunt, what relation is she to you?

Asked by Neha on 28 Jul 2025

The following "Brain Bat" means Slow Down.
S
L
O
W

Using the same logic, can you tell us what does the following Brain Bat means ?
E
V
I
G

Asked by Neha on 14 May 2021


In a kingdom, King George did not allow any citizen to visit the world outside. Also, only a person with proper paperwork was allowed to enter or he was sent back. A wooden bridge was what connected the kingdom to the world. The king had appointed a sharpshooter who would check the every five minutes on the bridge to check. After checking, he would go back to his hut and return exactly after five minutes again. The bridge took 9 minutes to cross.

A merchant was able to escape the kingdom without harming the shooter. How?

Asked by Neha on 04 May 2024

You may enter, but you may not come in. I have space, but no room. I have keys, but open no lock. What am I?

Asked by Neha on 23 Oct 2021

Akbar summoned Birbal out of anger.
He told him that he will have to face death.
He asked him to make a statement and if the statement is true he will be buried alive and if the statement is false, he will be thrown at lions.
After hearing Birbal’s statement, Akbar could do nothing but smile.
He gave him 5 gold bars and let him go.

What did Birbal say?

Asked by Neha on 17 May 2021


How can a man go eight days without sleep?

Asked by Neha on 11 Mar 2024

In the following picture, E is going to slide the object down and as per the terrain and the physics, the round object is going to travel all the way till the end. Now, can you analyze who all people will die when it happens?

Who All Dies

Asked by Neha on 21 Mar 2021

What comes
Once in a Year
Twice in a Month
4 times in a Week
6 times in a Day

Asked by Neha on 24 Feb 2022


Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.