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

You visit a home for specially-abled children on the occasion of Christmas where you meet with 50 children. You have a box of chocolates containing 50 chocolates exactly.

What if you were asked to one chocolate to each child in a manner that one chocolate still remains in the box? Is it possible?

Asked by Neha on 28 Apr 2023


Twenty frogs are sitting on a log floating on the surface of a river. Two of them decide to jump off into the water.

How many frogs are there on the log at this moment?

Asked by Neha on 20 Oct 2023

If a boy blows 18 bubbles,
Then pops 6 eats 7 and then
He pops 5 and blows 1.
How many are left?

Asked by Neha on 17 May 2021


In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024

A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022

Rose, Lily and Jasmine decided to buy flowers for their moms on Mother's Day. One of them bought lilies, the other roses, and the third one jasmines.
'It's funny!' said the girl with roses, 'we bought roses, jasmines and lilies, but none of us bought the flowers matching her name'.
'You're right!', said Lily.
What kind of flowers did each of the girls buy?

Asked by Neha on 07 Apr 2025


I ask Joseph to pick any 5 cards out of a deck with no Jokers.

He can inspect then shuffle the deck before picking any five cards. He picks out 5 cards then hands them to me (Jack can't see any of this). I look at the cards and I pick 1 card out and give it back to Joseph. I then arrange the other four cards in a special way, and give those 4 cards all face down, and in a neat pile, to Jack.

Jack looks at the 4 cards i gave him, and says out loud which card Joseph is holding (suit and number). How?

The solution uses pure logic, not sleight of hand. All Jack needs to know is the order of the cards and what is on their face, nothing more.

Asked by Neha on 10 May 2021

Can you complete the sequence puzzle?

AR TA GE CA LE VI LI _

Asked by Neha on 02 May 2025

Nine marbles are arranged in the image below. Can you slide two marbles to form a square?

Arrange The Marbles Puzzle

Asked by Neha on 23 Jan 2026


How will you measure 15 minutes using two hourglasses of 7 minutes and 11 minutes respectively?

Asked by Neha on 07 Sep 2023

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki