MathDB
Array of light bulbs and switches

Source: ItaMO 2001 Problem 6

February 17, 2013
combinatorics proposedcombinatorics

Problem Statement

A panel contains 100100 light bulbs, arranged in a 1010 by 1010 square array. Some of them are on, the others are off. The electrical system is such that when the switch corresponding to a light bulb is pressed, all the light bulbs that are on the same row or column of it (including the bulb linked to the pressed switch) change their state (that is they are turned on or off).
[*] From which starting configurations, pressing the right sequence of switches, is it possible to achieve that all bulbs are on at the same time?
[*] What is the answer to the previous question if the bulbs are 8181, arranged in a 99 by 99 panel?