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

John enters a small room. The Door Closes.
When the door opens, John is in a larger room.

Explain?

Asked by Neha on 14 Mar 2026


Find the Goldfish below the given Image.

Find the Goldfish

Asked by Neha on 25 Feb 2025

I shave every day, but my beard stays the same. What am I?

Asked by Neha on 12 Feb 2022


4 fathers, 2 grand-fathers and 4 sons went to watch the movie.What is the minimum number of tickets they need to buy ?

Asked by Neha on 04 Jan 2024

There was a minor accident with a doctor's son but the doctor noticed no major injury. After the treatment, the father of that doctors son is sitting with the son of the doctor without the doctor being in the room.

How can this be possible?

Asked by Neha on 02 Feb 2025

That attorney is my brother, testified the accountant.

But the attorney testified he didn't have a brother.

Who is lying?

Asked by Neha on 14 Dec 2020


What shoe company does this rebus represent?

Shoes Company Rebus Riddle

Asked by Neha on 18 Jun 2026

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

A doctor and a boy were fishing. The boy was the doctor’s son, but the doctor was not the boy’s father. Who was the doctor?

Asked by Neha on 04 Mar 2022


A gardener planted the Lemon trees in a mathematical ordered way (i.e. he planted a tree in rows).
He created a total of 19 rows of trees.

Note: There should be more than 2 trees to count as a row.

What is the minimum number of trees required by the gardener to have 19 rows of trees?

Asked by Neha on 29 Apr 2026

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.