subject
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

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 20.06.2019 18:02, macylen3900
On an airplane there are two seats on the left side and three seats on the right side there are 90 seats o the right side of the plane
Answers: 1
image
Mathematics, 21.06.2019 17:00, karina1466
What is the value of the expression 9+n/3-6 when n = 12? 1. 5. 7. 12.
Answers: 1
image
Mathematics, 21.06.2019 18:00, s108870
Marla bought a book for $12.95, a binder for $3.49, and a backpack for $44.99. the sales tax rate is 6%. find the amount of tax and the total she paid for these items
Answers: 1
image
Mathematics, 21.06.2019 23:00, utjfkdndidndldn62121
Why is it so easy to buy on impulse and overspend with a credit card? what could you do to counteract this tendency?
Answers: 1
You know the right 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, 25.01.2022 01:50
Konu
Mathematics, 25.01.2022 01:50
Konu
Mathematics, 25.01.2022 01:50