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 jumps when it walks and sits when it stands?

Asked by Neha on 27 Oct 2025


John walks into the daily grocery shop and steals a $100 bill from the shop. An hour later John returns to the shop and buys some daily products for $40. John pays the owner the $100 bill and therefore the owner returns him $60.

How much money did the owner lose?

Asked by Neha on 02 Jun 2026

Replace the question mark with the correct number, given the pair of numbers exhibits a similar relationship?

? : 3839 :: 11 : 1209

Asked by Neha on 03 Jun 2023


What are the next two letters in the following series and why?
W A T N T L I T F S _ _

*Hint: Check Puzzle Title

Asked by Neha on 12 May 2023

Complete the following series. It.s very logical:

1, 4, 5, 6, 7, 9, 11, __?

Asked by Neha on 02 May 2024

The more of this there is, the less you see. What is it?

Asked by Neha on 19 May 2022


A newspaper is supposed to have 60 pages, but pages 24 and 41 are missing.
Which other pages won't be there?

Asked by Neha on 12 Apr 2024

The world's largest Thanksgiving turkey was on display at a fair. Everyone was admiring it when suddenly a woman ran up and shot the turkey and left. Everyone knew her yet nobody made any attempts to stop or report her. Why?

Asked by Neha on 24 Feb 2023

What number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024


10+10 and 11+11 can give you the same answer.

Explain how?

Asked by Neha on 07 Aug 2021

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.