Problem 44752. Lights Out 2 - 5x5, 4 moves
Lights Out is a logic game wherein all lights need to be turned off to complete each board. See the first problem in the series for an introduction.
This problem contains boards that each require four moves to solve. For example, if
board = [1 0 1 1 1 1 1 0 1 0 1 0 0 0 1 1 0 0 1 1 1 1 0 0 1]
the answer is:
moves = [2 5 16 24]
Prev.: 5x5, 3 moves — Next: 5x5, 6 moves
Solution Stats
Problem Comments
-
3 Comments
Hello Grant, you should create a problems Group with the Lights Out serie.Good problems as always.
Or maybe add the Lights Out 1 and Lights Out 7 or 8 (for a progression in difficulty) in the Classic Games Puzzles. By the way I thing that problems in Computer Games 1 are more Maze problems (except 2048 Move). Some others Maze problems (One Track Five Lanes of Alfonso) can be added.
@Jean-Marie Sainthillier: thanks.
https://www.mathworks.com/matlabcentral/cody/groups/624
More problems will be coming in this series.
Solution Comments
Show commentsGroup

The Prime Directive
- 14 Problems
- 36 Finishers
- Find the nearest prime number
- Extra safe primes
- Prime factor digits
- Twin Primes
- Twins in a Window
- The Goldbach Conjecture
- The Goldbach Conjecture, Part 2
- Goldbach's marginal conjecture - Write integer as sum of three primes
- Sophie Germain prime
- Mersenne Primes vs. All Primes
- Circular Primes (based on Project Euler, problem 35)
- Numbers spiral diagonals (Part 2)
- Pernicious Anniversary Problem
- Prime Ladders
Problem Recent Solvers20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!