MathDB
9th ibmo - brazil 1994/q3.

Source: Spanish Communities

May 7, 2006
functioncombinatorics unsolvedcombinatorics

Problem Statement

In each square of an n×nn\times{n} grid there is a lamp. If the lamp is touched it changes its state every lamp in the same row and every lamp in the same column (the one that are on are turned off and viceversa). At the begin, all the lamps are off. Show that lways is possible, with an appropriated sequence of touches, that all the the lamps on the board end on and find, in function of nn the minimal number of touches that are necessary to turn on every lamp.