Home > General
Lights Out! (Posted on 2003-11-02) |
|
Imagine there is a 5x5 grid of lights, and only the middle light in the grid is on.
The lights are wired such that when you flip the switch for one light (from on to off or off to on) the others right next to it (not diagonally) flip as well.
Using this weird wiring of lights, what is the fewest number of switch changes it takes to turn all the lights off, and which lights should you switch? (Assume all the switches work in the manner explained, and there is 1 switch for each of the lights.)
|
Submitted by Gamer
|
Rating: 4.0000 (2 votes)
|
|
Solution:
|
(Hide)
|
Charlie explains the solution as follows:
The following arrangement of flipped switches (1 = flipped, 0 = not flipped) will turn off the center light while keeping or returning off the other lights:
0 0 0 1 1
0 0 1 0 0
0 1 1 0 1
1 0 0 0 1
1 0 1 1 0
This arrangement's rotations/reflections are the 3 other solutions. |
Comments: (
You must be logged in to post comments.)
|
|
Please log in:
Forums (0)
Newest Problems
Random Problem
FAQ |
About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On
Chatterbox:
|