top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

100 Locker Puzzle

+6 votes
927 views

You are standing in a school hallway lined with 100 closed lockers. You then open all 100 lockers. After this, you then close every 2nd locker (so the 2nd, 4th, 6th…98th and 100th are all closed). Then, you go to every third locker and open it if it is closed or close it if it is open (let’s call this toggling the locker for our discussion). You proceed to toggle every nth locker on pass number n. So, for example, on pass number 16 – you will toggle every 16th locker. After your hundredth pass of the hallway, in which you toggle only locker number 100, how many lockers are now open? In a hall with x lockers, how many lockers remain open after pass number x?

posted Jan 18, 2014 by Neeraj Pandey

Share this puzzle
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer (Check Answer ▼)





Similar Puzzles
+4 votes

A new prison has been built. It holds exactly 100 prisoners. Each prisoner is held in a solitary room with no way of communicating with the other prisoners, or anyone on the outside. Each day, the warden selects one prisoner at random, and escorts the selected prisoner to a central room for one hour. There is nothing in the central room except a light switch that controls a light bulb installed in the ceiling, which is visible but out of reach. While a prisoner is in the central room, they are allowed to turn the light switch on or off. They can also decide to tell the warden that they are certain that all 100 prisoners have been in the room. For simplicity's sake, assume the light in the central room is off before the first prisoner goes in.

If they are correct then everyone will be set free, but if they are not correct, then everyone will be executed. So, it is essential that they only talk to the warden when they are 100% positive that they are correct.

All 100 prisoners are allowed to gather together for one hour before they are put in prison to discuss their strategy for getting out. Can you come up with a plan that guarantees success (eventually)?

0 votes

Can you solve the below picture puzzle?
enter image description here

0 votes

Can you solve the puzzle by counting the number of squares in the puzzle below?
enter image description here

0 votes

This one is a popular quiz/puzzle. Can you find out the names of the websites depicted using the emojis in this picture?
enter image description here

...