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

Twenty frogs are sitting on a log floating on the surface of a river. Two of them decide to jump off into the water.

How many frogs are there on the log at this moment?

Asked by Neha on 20 Oct 2023


The following "Brain Bat" means Slow Down.
S
L
O
W

Using the same logic, can you tell us what does the following Brain Bat means ?
E
V
I
G

Asked by Neha on 14 May 2021

Three people enter a room and have a green or blue hat placed on their heads. They cannot see their own hat but can see the other hats.
The colour of each hat is purely random. They could all be green, blue, or any combination of green and blue.
They need to guess their own hat colour by writing it on a piece of paper, or they can write 'pass'.
They cannot communicate with each other in any way once the game starts. But they can have a strategy meeting before the game.
If at least one of them guesses correctly they win $10,000 each, but if anyone guesses incorrectly they all get nothing.
What is the best strategy?

Asked by Neha on 05 Dec 2023


The Little ant seems to be always confused. Do you know why?

Asked by Neha on 26 May 2024

How many bricks does it take to complete a building that is 15 feet wide, 30 feet deep, and 12 feet tall made of brick?

Asked by Neha on 23 Feb 2024

If in a code language, DISTANCE is written as IDTUBECN and DOCUMENT is written as ODDVNTNE, the how will THURSDAY be coded as in the same language?

Asked by Neha on 17 May 2021


What do you see in the image below

Typical Image Puzzle

Asked by Neha on 17 Sep 2025

A mother is 21 years older than her child. In exactly 6 years from now, the mother will be exactly 5 times as old as the child.
Where's the father?

Asked by Neha on 26 Jun 2021

How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021


A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 26 Jan 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.