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 has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025


Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021

A woman shoots her husband.

Then she holds him under water for over 5 minutes.

Finally, she hangs him.

But 5 minutes later they both go out together and enjoy a wonderful dinner together.

How can this be?

Shoot to Kill

Asked by Neha on 20 Mar 2021


How much will a 38° angle measure when looked at under a microscope that magnifies ten times?

Asked by Neha on 17 May 2021

Can you find the odd number in the following?

2716, 4135, 5321 and 7145

Asked by Neha on 30 Mar 2023

Check out the number list below and find what number comes next in the sequence.

111 , 113 , 117 , 119 , 123 , 137 , ?

Asked by Neha on 30 Mar 2026


A Man gave one of his sons 10 cents and another son was given 15 cents. What time is it?
Hint: Figure out the relation between time and number, is not so easy..:)

Asked by Neha on 02 Nov 2023

Which number should replace the question mark?

Triangular Logic

Asked by Neha on 11 Aug 2023

John was visiting his friend Jacob. He found out that his friend's wife had just killed a burglar in self-defense.
John asks Jacob about what happened and he told that "His wife was watching television when suddenly the bell rang. She thought that it is her husband Jacob but she found the burglar who attacked her instantly and she got so frightened that she killed the burglar immediately with the knife.
John asked the police to arrest his friend's wife. Why?

Asked by Neha on 10 Mar 2023


As a whole I am both
safe and secure.

Behead me and I become
a place of meeting.

Behead me again and I am
the partner of ready.

Restore me, and I become
the domain of beasts.

What am I?

Asked by Neha on 11 May 2021

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.