Suppose you are halfway lined with 100 lockers, you begin by opening every locker.Then you close every second locker.lets call it the action of toggling.Continue toggling every nth locker,after 100 passes,where you only locker#100 how many lockers are open
Answers
Answered by
1
Answer:
10
Step-by-step explanation:
Only those lockers having odd number of factors will remain open. Hence only perfect squares will remain open. i. e. 1,4,9,16,25,36,49,64,81,100.
Similar questions