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

Home > Logic
Lights switched (Posted on 2009-06-03) Difficulty: 4 of 5
Consider a 3x3 array of lighted buttons:
[O][O][O]
[O][O][O]
[O][O][O]
If any one of these buttons is pressed, it and all of its directly adjacent neighbors will toggle their status on/off. (Diagonals do not change.)

The goal is to get all of the lights to be off. Which buttons must be pressed to accomplish this?

Which buttons would accomplish this goal in the minimum number of presses for 4x4, 5x5, 6x6, 7x7, 8x8, and 9x9 arrays?

A nice site with the game from 3 x 3 up to 8 x 8 is here.

No Solution Yet Submitted by Jer    
No Rating

Comments: ( You must be logged in to post comments.)
  Subject Author Date
The search for order...Jer2009-06-04 15:08:52
re(3): computer solutionJer2009-06-04 13:48:23
re(2): computer solutionCharlie2009-06-04 13:13:29
re: computer solutionJer2009-06-04 11:51:06
Solutioncomputer solutionCharlie2009-06-03 16:50:45
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 (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information