Mathematics
Mathematics, 27.04.2021 15:00, ErikHabdlowich

Our prisons are too crowded, so we need to release some inmates. For a high-security prison, there are 1000 inmates and 1000 guards. Initially, all doors are locked. Beginning with the 1st guard, the ith guard switches the locked/unlocked state of every ith door. For example, the first guard would go through and unlock every door. Then the 2nd guard switches the (lock/unlock) state for every even door (effectively locking every even door while leaving every odd door unlocked). Then the 3rd guard switches the state for every 3rd door, unlocking the door if it is locked, or locking the door if it is unlocked. After the 1000th guard, how many doors are left unlocked

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 17:30, kirsten8605
If the measure of angle 1 is 110 degrees and the measure of angle 3 is (2 x+10 degree), what is the value of x?
Answers: 2
image
Mathematics, 21.06.2019 19:30, miracle96
Choose the more precise measurement. 26.4 cm or 8.39 cm
Answers: 1
image
Mathematics, 22.06.2019 03:00, iBrain
Can you make 1000, using only eight 8’s? if you had your choice, would you rather have 5 million dollars, or 1 penny, doubled every day for a month?
Answers: 2
image
Mathematics, 22.06.2019 05:30, granniejo
Multiple questions for the same graph find the lowest value of the set of data this box-and-whisker plot represents.12131516find the upper quartile of the set of data this box-and-whisker plot represents.20151618
Answers: 1
Do you know the correct answer?
Our prisons are too crowded, so we need to release some inmates. For a high-security prison, there a...

Questions in other subjects:

Konu
Mathematics, 14.01.2020 19:31
Konu
Social Studies, 14.01.2020 19:31
Konu
Health, 14.01.2020 19:31