logic puzzle 10

Sort:
Avatar of Tiger7619

dooG

Avatar of Abhinav

Feels like the end is nigh

Avatar of Tiger7619

nigh

Avatar of aurophoe

hgin

Avatar of Tiger7619

high

Avatar of ExtremeDragon2
Yiyichen63 wrote:

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?

btw answer is 31

Avatar of Abhinav

Solution?

Avatar of Tiger7619

No one has to know

Avatar of aurophoe

Extreme dragon is right

Avatar of Tiger7619

K

Avatar of Magnetta123
Yiyichen63 wrote:

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?

Why would the principal do this work? He has the janitors. And even if he does have to close the lockers it will be 500 lockers

Avatar of Tiger7619

No

Avatar of aurophoe
Magnetta123 wrote:
Yiyichen63 wrote:

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?

Why would the principal do this work? He has the janitors. And even if he does have to close the lockers it will be 500 lockers

Its just 31 lockers.... what about student one who does 1000 lockers...

Avatar of Magnetta123

Oh right

Avatar of Tiger7619

Ok

Avatar of Abhinav

Kk

Avatar of aurophoe

yes

Avatar of Tiger7619

Yes

Avatar of aurophoe

OK Good