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

Jim has three close friends at his school: Michael, John and Alice. Two of them play football, two play basketball and two play hockey. The friend who does not play hockey does not play basketball as well. The friend who does not play football does not play hockey.

Can you identify which sport/s is played by which person?

Asked by Neha on 21 Mar 2026


There is a number which when you multiply by 3 and subtract 2 from the result, then the resulting number is the reverse of the actual number.

What is the smallest number that stands true on the statement?

Asked by Neha on 20 Aug 2023

A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 27 Oct 2021


A journalist was investigating a sacred cult in the jungles of Africa when he was caught by one of the person. He was confined in a cave till the leader arrived. The leader told him that he need to tell him a statement. If he thinks the statement is true, then the journalist head will be chopped off. If he thinks that the statement is false, his head will be smashed with a hammer.

What statement did the journalist make to survive?

Survive in Jungle

Asked by Neha on 19 Mar 2021

You need to move three matchsticks to form three squares. Can you do it?

MatchSticks Squares Riddle

Asked by Neha on 17 Jun 2023

What does below pictogram mean?

Compile the Pictogram

Asked by Neha on 11 Aug 2021


Solve the puzzle by telling what does below picture means.

Solve by Name Puzzle

Asked by Neha on 28 Nov 2025

What does below Rebus mean ?

esgg sgeg gegs gsge

Asked by Neha on 10 May 2021

Place a mathematical symbol between the numerals 5 and 9 in such a way that the resulting number is greater than 5 but smaller than 9.

Asked by Neha on 30 Jul 2021


Can you identify the Oscar-winning movie from the rebus below?

Oscar-Winning Movie

Asked by Neha on 06 Nov 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