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

I am a five-letter word and people eat me. If you remove the first letter I become an energy form. If you remove the first two letters, I am needed to live. Scramble the last three letters and I am a drink. What word am I?

Asked by Neha on 28 May 2025


What animal walks on four legs in the morning, two legs during the day, and three legs in the evening?

Oedipus, the king of Thebes, figured out the answer to the riddle:

Asked by Neha on 13 Sep 2025

Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021


If you drop me I’m sure to crack, but give me a smile and I’ll always smile back. What am I?

Asked by Neha on 07 Mar 2025

I have a head like a cat and feet like a cat, but I am not a cat. What am I?

Asked by Neha on 12 Aug 2025

What's the only room from which no one can enter or leave

Asked by Neha on 15 Apr 2024


Can you count the number of seconds in a year?

Clue: You need to bother about calculation.

Asked by Neha on 06 Oct 2024

In a basket of apples,
when counted in twos, there was one extra
when counted in threes, there were two extra when counted in fours, there were three extra
when counted in fives, there were four extra
when counted in sixes, there was five extra.

However, if the apples were counted in sevens, no extra apple was left. Can you calculate the minimum number of apples that were present in the basket?

Asked by Neha on 12 Sep 2023

what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025


Bea Smith, Vera Bennett, Franky Doyle and Doreen Anderson were in Wentworth Prison for murder. But their behaviour in the jails is appreciated by the warden and the warden decided to give all these 4 prisoners 11 cupcakes. They all like cupcakes and they had all cupcakes in no matter of time but they do not know how many cupcakes each individual had. Therefore Bea started the conversation Bea: "Hey T-Vera, did you have more cupcakes than I had ?"Vera: "I do not know girl, Hey Franky, did you have more cupcakes than I had ?".Franky: "I do not know"Doreen replied instantly: "I know how exactly how many cupcakes each of you had?" So can you tell how many cupcakes each of them had?

Asked by Neha on 21 Jul 2026

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.