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

In two decks of cards, what is the least amount of cards you must take to be *guaranteed* at least one four-of-a-kind?

Asked by Neha on 11 Nov 2025


In Greek mythology, the Sphinx sat outside of Thebes and asked this riddle of all travellers who passed by. If the traveller failed to solve the riddle, then the Sphinx killed him/her. And if the traveller answered the riddle correctly, then the Sphinx would destroy herself. The riddle:

What goes on four legs in the morning, on two legs at noon, and on three legs in the evening?

Oedipus solved the riddle, and the Sphinx destroyed herself.

Asked by Neha on 26 Jul 2024

It can't be seen, can't be felt, can't be heard, and can't be smelt.
It lies behind stars and under hills, And empty holes it fills.
It comes first and follows after, Ends life, and kills laughter.
What is it?

Asked by Neha on 17 May 2021


Your last good ping-pong ball fell into a narrow metal pipe embedded one foot deep in concrete.
How can you get it out undamaged, if all the tools you have are your tennis paddle, shoe laces, and plastic water bottle, which does not fit into the pipe?

Asked by Neha on 10 Nov 2024

How can you tell a raw egg from a hard-boiled egg?

Asked by Neha on 09 Jan 2025

Make eight squares by moving only two matchsticks.
Note- Square can be of different sizes.

Make the Square

Asked by Neha on 12 Apr 2021


Why did Buffon take the goal with him after every Juventus match?

Asked by Neha on 24 Apr 2025

What kind of storm is always in a rush?

Asked by Neha on 16 Jan 2024

In a town, there are four houses located at different distances from each other. Following are the distances:

The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.

Can you find out the distance between the fourth and the first house?

Asked by Neha on 14 Sep 2024


Place a mathematical symbol between the numerals 5 and 9 in such a way that the resulting number is greater than 5 but smaller than 9.

Asked by Neha on 30 Jul 2021

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.