All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Lights Out! (Posted on 2003-11-02) Difficulty: 4 of 5
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.)

See The Solution Submitted by Gamer    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
ANSWER HERE. | Comment 18 of 27 |
4 clicks.
0=off, 1=on.

start:
00000
00000
00100
00000
00000

click at pos.1:
11000
11000
00100
00000
00000

Click pos. 6;
00000
00000
11100
00000
00000

Click pos. 17:
00000
00000
00000
11100
11100

Click pos. 22:
00000
00000
00000
00000
00000


There's four clicks that solve the problem. No programming necessary, just some pen & paper. If I 'm supposed to come up w/ some sort of formula, I'll fail miserable around here. I'm just good at puzzling.
  Posted by Choop on 2003-11-03 01:12:10
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
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:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information