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

Christina, Allison and Lena are 3 daughters of John a well-known Mathematician, When I asked John the age of their daughters. He replied "The current age of her daughters is prime. Also, the difference between their ages is also prime."

How old are the daughters?

Asked by Neha on 05 Aug 2023


There are two beautiful yet remote islands in the South Pacific. The Islanders born on one island always tell the truth, and the Islanders from the other island always lie.
You are on one of the islands and meet three Islanders. You ask the first which island they are from in the most appropriate Polynesian tongue, and he indicates that the other two Islanders are from the same island. You ask the second Islander the same question, and he also indicates that the other two Islanders are from the same island.
Can you guess what the third Islander will answer to the same question?

Asked by Neha on 03 Jan 2026

Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023


John was running from 40 thieves. John has got 3 gold boxes which weigh as 4kg, 2kg, and 1kg respectively. A witty man asked John to stay with him for seven days in exchange for 1kg gold per day. John needs to stay there for seven days and also do not want to give the witty man any advance. How can John pay for his seven days stay?

Asked by Neha on 14 Jul 2023

Take one out and scratch my head, I am now black but once was red. What am I?

Asked by Neha on 29 Jul 2025

John is found dead in his office at his desk. The police have narrowed the suspects down to three people: Mrs. Jacob, John’s wife Hena and his business partner Jason . All three visited John on the day of his murder, but all three provide the police with stories of explanation as to the reason for their visit.
Police found John with his wrist watch still on his right arm, a torn up picture of his wife laying on the floor beside the trash can, and an ink pen in his right hand. On the desk, the police found a name plate, a telephone that was off the hook, and a personal calendar turned to the July 5th page with 7B91011 written on it. After examining this evidence, the police knew their suspect. Who was it ?

Asked by Neha on 11 Sep 2021


On my way to St. Ives I saw a man with 7 wives. Each wife had 7 sacks. Each sack had 7 cats. Each cat had 7 kittens. Kittens, cats, sacks, wives. How many were going to St. Ives?

Asked by Neha on 26 Oct 2024

How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023

You can take four of the five letters out of this word, but the pronunciation never changes. What is the word?

Asked by Neha on 05 Aug 2024


There is a wide field of corn. A goose finds its way into the field and starts running. Can you find out till which point the goose can run into the field?

Asked by Neha on 27 Oct 2023

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.