logic puzzle 10

Sort:
Avatar of aurophoe

A school has exactly one thousand lockers, numbered from 1–1000, as well as one thousand students. Each year, the principal has closing ceremonies on the last day of school, during which she enlists the help of her students to close up the school’s lockers.

She assigns each student a number, and asks him or her to help her one by one. These are the instructions she gives each of the students

Student #1: Go to every locker and open it.

Student #2: Go to every second locker and close it.

Student #3: Go to every third locker. If it is closed, open it, and if it is open, close it.

Student #4: Go to every fourth locker. If it is closed, open it, and if it is open, close it.

This goes on until Student #1000 is finished.

After the closing ceremonies are finished, the principal walks through the school and closes each locker that is left open. How many lockers will the principal close?

Avatar of Tiger7619

Why are you doing this?

Avatar of Tiger7619

Also, I feel bad for student 1 cuz he/she has to open 1000 lockers and most of it is for nothong

Avatar of Tiger7619

nothing*

Avatar of aurophoe

lol yeah

Avatar of Tiger7619

Yup

Avatar of aurophoe

It would take hours

Avatar of Abhinav

Then everybody will skip their last day of school...

Avatar of Tiger7619

Lol

Avatar of aurophoe

Yeah

Avatar of Tiger7619
Abhinav0121 wrote:

Then everybody will skip their last day of school...

Then the principal well have to close 1000 lockers. So the answer is 1000 tongue.png lol

Avatar of Tiger7619

No it's not

Avatar of Tiger7619

Yes it is

Avatar of Tiger7619

Nope

Avatar of Tiger7619

You're wrong Tiger

Avatar of Abhinav

You okay buddy?

Avatar of Tiger7619

No

Avatar of Tiger7619

Yes

Avatar of Tiger7619

No!!!

Avatar of Tiger7619

Yes!!!