Open In App

Puzzle 76 | Toggling prison cell

 

There was a prison consisting of 1000 cells numbered from 1 to 1000.



Can you identify the cell numbers with ‘+’ sign?

 
Solution: Cell numbers are 1, 4 ,9, 16, 25, 36 and so on.



Explanation:

A cell gets toggled as many times as the number of divisor it has. For example let’s take cell number 20, it gets toggled on days 1, 2 ,4, 5, 10 and 20.

These cells are 1, 4 ,9, 16,25,36,49 and so on.

This puzzle is contributed by Ankur Chaudhary.

Article Tags :