Math, asked by aaravgupta42, 1 year ago

4. Suppose you're in a hallway lined with 100 closed lockers. You begin by opening every locker. Then
you close every second locker. Then you go to every third locker and open it (if it's closed) or close it (if
it's open). Let's call this action toggling a locker. Continue toggling every nth locker on pass number n.
After 100 passes, where you toggle only locker #100, how many lockers are open?

Answers

Answered by AnshrajDwivedi
8

Answer:

98 lockers would be open


bhavya6895: could you pls explain how
devansh4024: plz tell me also
bhavya6895: pls
devansh4024: yes
aaravgupta42: yes
AnshrajDwivedi: I can explain it but it is a long explanation
Answered by prakhar70065
4

98 is right answer

hope it is helpful

Similar questions