Principal in the School

A high school has a strange principal. On the first day, he has his students perform an odd opening day ceremony:

There are one thousand lockers and one thousand students in the school. The principal asks the first student to go to every locker and open it. Then he has the second student go to every second locker and close it. The third goes to every third locker and, if it is closed, he opens it, and if it is open, he closes it. The fourth student does this to every fourth locker, and so on. After the process is completed with the thousandth student, how many lockers are open?

Principal in the School




Similar Riddles

A wealthy man lives alone in a small cottage. Being partially handicapped he had everything delivered to his cottage. The mailman was delivering a letter one Thursday when he noticed that the front door was ajar. Through the opening he could see the man's body lying in a pool of dried blood. When a police officer arrived he surveyed the scene. On the porch were two bottles of warm milk, Monday's newspaper, a catalog, flyers, and unopened mail. The police officer suspects it was foul play. Who does he suspect and why?

Murder Mystery Puzzle

Asked by Neha on 07 Apr 2021


John asked Jack, "The time right now is 7 pm. Can you tell me what will be the time 23, 999, 995 hours later ?"

While Bella does not know the answer, do you ?

Asked by Neha on 22 Jun 2021

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?

Asked by Neha on 10 May 2021


A Shopkeeper sold a few chickens to four different customers on a particular day. It was such that each customer purchased half of the remaining chickens and half the chicken more.

Can you find out how many chicken were sold by the shopkeeper on that day if we tell you that the fourth customer bought a single chicken ?

Asked by Neha on 01 Jul 2024

In the below-given picture of a pretty girl, there is something wrong. Can you find out what it is?

Funny Girl Puzzle

Asked by Neha on 20 May 2025

Six people park their car in an underground parking of a store. The store has six floors in all. Each one of them goes to a different floor. Simon stays in the lift for the longest. Sia gets out before Peter but after Tracy. The first one to get out is Harold. Debra leaves after Tracy who gets out on the third floor.

Can you find out who leaves the lift on which floor?

Asked by Neha on 24 Dec 2024


Move three sticks of the spiral below to form a square.

Spiral to Square Puzzle

Asked by Neha on 15 Nov 2025

What came first, the chicken or the egg?

Asked by Neha on 29 Dec 2025

Replace the question mark with the correct number.

Replace the question mark

Asked by Neha on 09 May 2023


By moving exactly three matchsticks can you make the below equation true.It can be solved by 3 ways.

Matchsticks Equation

Asked by Neha on 19 Feb 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.