Turn on!

There are \(16\) lamps in a \(4\times 4\) square, initially all turned off, as is shown in the figure below.

The way the switches of the lamps are designed to work is as follows:

If we change the status of any lamp (if it is turned on, then we turn it off; if it is turned off, then we turn it on), then the statuses of all the other lamps in the same row or column change at the same time.

If we call this one step, what is the minimum number of steps we need to switch on all of the lamps?

×

Problem Loading...

Note Loading...

Set Loading...