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

A man is walking down a road with a basket of eggs. As he
is walking he meets someone who buys one-half of his eggs
plus one-half of an egg.
He walks a little further and meets another person who buys
one-half of his eggs plus one-half of an egg.
After proceeding further he meets another person who buys
one-half of his eggs plus one half an egg. At this point, he
has sold all of his eggs, and he never broke an egg.
How many eggs did the man have to start with?

Asked by Neha on 06 Dec 2023


Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024

You are given 2 eggs.
You have access to a 100-storey building.
Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor, Both eggs are identical.
You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking.
Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process

Asked by Neha on 12 Dec 2025


Two batsman each on 94 runs. Seven runs needed to win in last 3 balls. Both make 100*. How?

Asked by Neha on 09 Apr 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

If eleven plus two equals one, what does nine plus five equal?

Asked by Neha on 07 Oct 2021


By moving exactly three matchsticks can you make the below equation true.It can be solved by 3 ways.

Matchsticks Equation

Asked by Neha on 19 Feb 2021

A hen, a dog, and a cat are stolen. Three suspects are arrested named Robin, Steve, and Tim. The police are sure that all of them stole one of the animals but they don't know who stole which animal.

Sherlock Holmes is appointed to identify and is provided with the following statements from the investigation.

Robin - Tim stole the hen
Steve - Tim stole the dog
Tim - Both Robin and Steve are lying. I neither stole a hen nor a dog.

Sherlock is somehow able to deduce that the man who stole the cat is telling a lie and the man who stole the hen is telling truth.

Can you help him find out who stole which animal?

Asked by Neha on 22 Jun 2024

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025


The day before yesterday I was 25 and the next year I will be 28. This is true only one day in a year. What day is my birthday?

Asked by Neha on 07 Dec 2025

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.