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 spot the hidden clock in this family photo? Only the most eagle-eyed will find it!

Find the Timepiece in This Family Vacation Scene

Asked by Neha on 03 Sep 2026


How can you spell "White of an egg" in one word?
Hint: I know you can spell coke, poke, and joke.

Asked by Neha on 14 Apr 2025

You can see three almost identical images below. Can you spot the odd one out from them?


Find the Odd One Out

Asked by Neha on 17 May 2021


Can you circle exactly four of these numbers such that the total is twelve?

1 6 1
6 1 6
1 6 1
6 1 6

Asked by Neha on 27 Apr 2023

What word is pronounced the same if you take away four of its five letters?

Asked by Neha on 20 Oct 2021

What is 3/7 chicken, 2/3 cat and 2/4 goat?

Asked by Neha on 20 Mar 2025


Find the next number in the series

12, 20, 40, 72, 116, 172 ?

Asked by Neha on 19 Oct 2025

A man walked into a pub and went straight towards the Barman. He asked for a dirty martini from the Barman. The Barman thought something and then pulled out a pistol from his drawer and aimed it directly at the man. Why did he do that?

Asked by Neha on 09 Nov 2023

Take away my first letter, then take away my second letter. Then take away the rest of my letters, yet I remain the same. What am I?

Asked by Neha on 14 Oct 2021


What does this below rebus puzzle mean?

Personality Rebus Puzzle

Asked by Neha on 12 Aug 2024

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.