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 Math Riddles

John and Jacob are planning on a vacation. John says, "It will be better if we take the train to the hotel. We will reach faster."
To this, Jacob says, "No. You are wrong. The train stops halfway to the hotel and then we will have to walk the rest of the way. We should take the bikes to the hotel directly."
John says, "You are wrong."

Now, John takes the train while Jacob takes the bike. The train travels at four times the speed of the bike. The bike travels at twice the speed of walking.

Who do you think will reach the hotel first?

Asked by Neha on 29 Oct 2026


Can you find the ages of a son, father and grandfather based on the following facts?
The sum of the ages of grandfather, father and son is 140 years.
The age of the son in months is the same as the grandfather in years.
The age of the son in days is the same as the father in weeks.

Asked by Neha on 29 Jan 2024

A chicken farmer has figured out that a hen and a half can lay an egg and a half in a day and a half. How many hens does the farmer need to produce one dozen eggs in six days?

Asked by Neha on 30 Dec 2020


John can fit six large chocolate boxes or nine small chocolate boxes into a carton. How many cartons will he require to put sixty-six chocolate boxes into?

Asked by Neha on 25 May 2024

A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023


Christina has four daughters, and each of her daughters has a brother. How many children does Christina have?

Asked by Neha on 27 Feb 2022

How many pluses should we put between the digits of 987654321 to get a total of 99, and where?

Asked by Neha on 25 Sep 2021

In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 2023


Our product and our sum always give the same answer. Who are we?

Asked by Neha on 11 Oct 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.