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

I have an eye but still cannot see.

Who am I?

Asked by Neha on 28 Oct 2023


At a party, there are five people and a whole round cake lying at the centre of the table. Only four people will make a cut and take their piece and the last one will get the remaining piece on the table. How can they make sure that everyone gets a 1/5th of the piece?

Asked by Neha on 20 Sep 2024

Can you spot the hidden girl in the picture below?

Spot the Girl

Asked by Neha on 06 Feb 2025


John left on a horse on Thursday , was gone for two days, and came back on Thursday after completing his work. How did that happen?

Asked by Neha on 23 Feb 2021

You have two buckets of 11 liters and 6 litres.
How can you measure exactly 8 litres?

Asked by Neha on 17 Jan 2025

There is a river to cross using a river raft and there are eight people (father, mother, policeman, thief, 2 daughters and 2 sons). No one knows to operate the raft except the adults and also excluding the thief. Only two people can go in the raft at a time. The raft should keep coming back and forth in order to pick and drop the people.
Rules to be followed:
Father: the father cannot stay in the raft or outside the raft without the presence of the mother.
Mother: the mother cannot stay in the raft or outside the rat without the presence of the father.
Thief: the thief is not allowed to stay with any of the family members unless there is a policeman.
Policeman: the policeman can travel with anyone.
2 sons and 2 daughters: they are not allowed to travel in the raft without the presence of an adult. They cannot either travel in the presence of only thieves without the policeman. The sons cannot be with their mothers without their father's supervision. The daughters are not allowed to be there with their fathers without the supervision of their mothers. But the daughters and the sons can be left unsupervised (as long as the other rules are applied).
What is the sequence that the people should follow in order to cross the river through the raft keeping in mind all the rules?
The rules are applicable not only in the raft but also outside the raft.

Asked by Neha on 14 Aug 2023


The captain of a ship was telling this interesting story: "We travelled the sea far and wide. At one time, two of my sailors were standing on opposite sides of the ship. One was looking west and the other one east. And at the same time, they could see each other clearly." How can that be possible?

Asked by Neha on 26 Mar 2024

In the given figure, you can see that four match sticks are used to form a square. Can you form five squares by using six matches?

Make Six Square

Asked by Neha on 14 May 2021

Why is Saturday stronger than Monday?

Asked by Neha on 13 Feb 2023


Can you decipher these quotes by Albert Einstein?
Blf xzm mvevi hloev z kilyovn lm gsv ovevo lm dsrxs rg dzh xivzgvw.

Asked by Neha on 12 Jun 2024

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.