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

Detective Rockford was jogging near the beach at 4:30 am.
He hears a sound near the shack "No Michael, Please Do not shoot me".
Next instance he heard the sound of gunfire. Rockford rushes to the shack where he finds women lying dead and a gun in close proximity of three "Doctore Lawyer and a Teacher".

Rockford immediately knew that the Lawyer has committed the crime. How?

Asked by Neha on 05 Apr 2023


What Does this text mean:

important=important

Asked by Neha on 20 Dec 2025

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


Cristina leaves home and then she makes exactly 3 left turns and returns home where she found 2 girls wearing the mask.

Who are these two masked girls?

Asked by Neha on 01 Mar 2021

Two guards were on duty outside a barracks. One faced up the road to watch for anyone approaching from the North. The other looked down the road to see if anyone approached from the South. Suddenly one of them said to the other, "Why are you smiling?"

How did he know his companion was smiling?

Asked by Neha on 24 Apr 2022

There are three identical triplets sisters. Demi is the oldest of them all and she always speaks the truth. Diana is the next one who is a liar always. Drew, the youngest of them all speaks both truth and lies randomly.

On a rainy day, a family friend Victor visited them. Since there were starkly identical, he was not able to recognize them. Thus to clarify, he asked one question to each one of them.

He started with the one standing on the left and asked, 'Which sister is in the middle of you three?' She answered, 'That's Demi.'

Then, he asked the one standing in the middle, 'What is your name?' She answered, 'I am Drew.'

Finally, he asked the one standing on the right, 'Who is standing in the middle?' She answered, 'She is Diana.'

Victor was left baffled. He asked the questions three times and received different answers every time.

Can you tell who was who?

Asked by Neha on 19 May 2023


John is 45 years older than his son Jacob. If you find similarities between their ages, both of their ages contain prime numbers as the digits. Also, John's age is the reverse of Jacob's age.

Can you find their ages?

Asked by Neha on 11 Sep 2024

In the picture given below, can you find out which digit will take place of the question mark?

Replace the Question Mark

Asked by Neha on 10 Nov 2025

I have teeth but i don't bite. Who Am I ?

Teeth for showpiece

Asked by Neha on 29 Mar 2021


What mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?

Asked by Neha on 20 Sep 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.