Monday, February 8, 2016

Puzzle

There are a 1000 locks in closed position. 1000 children numbering 1 to 1000 approach the lock one by one. The rule is the child (say with number 'n') can open or close the lock numbering  in multiples of "n" only.
so the child in number one position can open all the locks. Child number 2 will be able to close all the locks in multiples of 2 (like 2, 4, 6 .... upto 1000). The other locks will remain as they are.
After all the 1000 children have had their chance, how many locks will be in open position.

1 comment :

  1. Thanks for sharing the Puzzle Questions, it helps in improving the logical and analytical skills. Please keep on posting such useful posts.

    ReplyDelete