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

A seven-year-old kid challenged his classmates that he can make the number one disappear by adding something to it.

How can he do that?

Asked by Neha on 04 Apr 2024


A brand new Mobile Phone was on sale at 20% as a promotional offer. By what per cent must the Mobile price be increased to sell it at the original price again?

Asked by Neha on 26 Oct 2023

Why did Navjot Singh Sidhu put the new January calendar in the freezer

Asked by Neha on 01 Dec 2024


You walk into an old horror house. It has no power or plumbing. Once inside, you see three doors. Each door has a number on it. Behind each door is a way for you to die. Behind door number one, you die by getting eaten by a lion. Behind door number two, you die by getting murdered. Behind door number three, you die by an electric chair. You can’t turn back, so you have to go through a door. Which door do you go through?

Asked by Neha on 10 Jun 2025

A man is found dead with a knife in his back When the investigation is done. A chair lays beside him and the forensic team finds moisture around the body.

If he committed suicide, how did he do it?

Asked by Neha on 29 Nov 2025

By adding four matchsticks, can you divide the square shown in the picture into two equal parts?

Divide by Matchstick Riddle

Asked by Neha on 13 Jul 2026


The below mentioned letters have been placed in a order using a logic.

DEAD, BALL, FEAR, SHOP

Can you find the logic?

Asked by Neha on 14 May 2021

Kareena is older than Bipasha. Bipasha is younger than Karishma and younger than Katrina. Katrina is older than Kareena and Alonso, who are older than Karishma.If Alonso and Kareena are twins, who's oldest?

Asked by Neha on 06 Jun 2026

It can be easily calculated that the digits 0 to 9 can be arranged into 3628800 distinct ten-digit numbers.

But do you know how many of these numbers are prime?

Asked by Neha on 31 Jul 2026


81 x 9 = 801. What must you do to make the this equation true?

Asked by Neha on 03 Oct 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.