There are 100 doors in a row, all doors are initially closed. A person walks through all doors multiple times and toggle (if open then close, if close then open) them in the following way:
In the first walk, the person toggles every door.
In the second walk, the person toggles every second door, i.e., 2nd, 4th, 6th, 8th, etc.
In the third walk, the person toggles every third door, i.e. 3rd, 6th, 9th, etc.
Likewise, in the 100th walk, the person toggles the 100th door.
Which doors are open in the end?
Part of 2023 Quiz Creator Challenge
Week 9: Consider Me Puzzled (Crosswords, Sudoko’s or any other puzzling quiz)
Comments