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

Manish and Manoj play 5 games of chess.
Both Manish and Manoj win the exact same number of games. There is no tie at all.

How?

Asked by Neha on 11 Feb 2024


If you go to the movies and you're paying, is it cheaper to take one friend to the movies twice, or two friends to the movies at the same time?

Asked by Neha on 16 Apr 2022

What Adam and Eve do not have but the rest of the people have?

Asked by Neha on 15 Mar 2023


This is a famous paradox which has caused a great deal of argument and disbelief from many who cannot accept the correct answer. Four balls are placed in a hat. One is white, one is blue and the other two are red. The bag is shaken and someone draws two balls from the hat. He looks at the two balls and announces that at least one of them is red. What are the chances that the other ball he has drawn out is also red?

Asked by Neha on 17 Oct 2024

Suppose that you are trapped on the surface of a frozen lake. The surface is so smooth and ideal that there is no friction at all. You cant make any grip on the ice and no wind is blowing to help you out. You have just a mobile phone with you which has got no reception disabling you to call for help.

How will you plan your escape before you freeze to death on the frozen lake?

Asked by Neha on 25 Dec 2020

A small town is visited by an ice-cream truck every day. On the first day of February, the truck visits as usual and 5 children, one from each of the first 5 houses on the street buys an ice cream that is of the different flavor from each other along with a completely different topping.

Go through the details below and find out which child lives in which house and bought which ice-cream flavor with which topping:

1. Jim lives between the child who bought the Raspberry topping and the child who bought mango ice cream.

2. Joyce, whose house has an even number, bought the cherry topping. Nancy does not live next to Joyce.

3. The blackcurrant ice cream had no topping.

4. The child who lives in house number 2 had the butterscotch ice cream. The child in house number 3 did not have chocolate ice cream.

5. Mike had banana ice cream. He hates banana cherry.

6. The child who had the cashew topping lives in house number 5. Dustin does not live in house number 4.

Please note that the odd numbered houses and the even numbered houses are located on the exactly opposite sides of the street.

Asked by Neha on 27 Jul 2021


Count the squares in the matchstick puzzle below?

Count the Squares

Asked by Neha on 17 Sep 2023

There is a family that live in a round house. The two parents go out for a movie and leave a babysitter to watch their son. They come back and the kid was not there. Some one kidnapped him. The maid said she was cleaning in a corner. The cook said he was making pizza. The babysitter said she was getting a board game. Who kidnapped him.

Asked by Neha on 16 Mar 2022

On the dull night when the blonde was dozing, she heard an odd clamour and she saw that there was a bizarre man with a gun simply outside her home. So she raced to the telephone to call the police, however, she can't dial 911. Why?

Asked by Neha on 09 Oct 2024


How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023

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.