
-
Lights Out (Games with solutions)
-
1. Investigation
- All Lights and Lights Out (pdf)
-
2. Lights Out (all lights)
- 3x3 Lights Out (All Lights)
- 4x4 Lights Out (All Lights)
- 5x5 Lights Out (All Lights)
- Algebra
- All Lights (up to 20x20)
-
3. Lights Out
- 3x3 Lights Out
- 4x4 Lights Out
- 5x5 Lights Out
-
4. Lights Out 2000 (3 states, all lights)
- 3x3 Lights Out (All Lights) of 3 states
- 4x4 Lights Out (All Lights) of 3 states
- 5x5 Lights Out (All Lights) of 3 states
-
5. Lights Out 2000 (3 states)
- 3x3 Lights Out of 3 states
- 4x4 Lights Out of 3 states
- 5x5 Lights Out of 3 states
-
6. LIGHTS OUT 7 states 20x20
- Lights Out up to 20x20
-
7. Other lighting games
- Hysteria
- Test your eye for color
- Four colors theorem
This activity is also part of one or more other Books. Modifications will be visible in all these Books. Do you want to modify the original activity or create your own copy for this Book instead?
This activity was created by '{$1}'. Do you want to modify the original activity or create your own copy instead?
This activity was created by '{$1}' and you lack the permission to edit it. Do you want to create your own copy instead and add it to the book?
Lights Out (Games with solutions)
Rafael Losada Liste, Jun 14, 2018

This GeoGebra book belongs to a group of books (in Spanish) about games and puzzles:
- Games. https://www.geogebra.org/m/u8gFwdZP
- Billiards: order and chaos. https://www.geogebra.org/m/sgjxpvj6
- Puzzles. https://www.geogebra.org/m/pc6b4muh
- Lighting games (Lights Out). https://www.geogebra.org/m/WG8PPmyg
Table of Contents
- Investigation
- All Lights and Lights Out (pdf)
- Lights Out (all lights)
- 3x3 Lights Out (All Lights)
- 4x4 Lights Out (All Lights)
- 5x5 Lights Out (All Lights)
- Algebra
- All Lights (up to 20x20)
- Lights Out
- 3x3 Lights Out
- 4x4 Lights Out
- 5x5 Lights Out
- Lights Out 2000 (3 states, all lights)
- 3x3 Lights Out (All Lights) of 3 states
- 4x4 Lights Out (All Lights) of 3 states
- 5x5 Lights Out (All Lights) of 3 states
- Lights Out 2000 (3 states)
- 3x3 Lights Out of 3 states
- 4x4 Lights Out of 3 states
- 5x5 Lights Out of 3 states
- LIGHTS OUT 7 states 20x20
- Lights Out up to 20x20
- Other lighting games
- Hysteria
- Test your eye for color
- Four colors theorem
All Lights and Lights Out (pdf)
Lights
3x3 Lights Out (All Lights)
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Your goal is to turn off all the lights. The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent squares.
You can find more information about this game in this article (June 2002) of Suma magazine (Spanish magazine on the teaching and learning of mathematics).


Author of the construction of GeoGebra: Rafael Losada
3x3 Lights Out
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Your goal is to turn off all the lights. The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent squares.
To play, you have two possibilities:
- Set the position you want to solve. To do this, click on the desired squares to turn them on and then press the SET button. Depending on your lights distribution, there may or may not be a solution.
- Let GeoGebra randomly generate a distribution by pressing the RANDOM button. In this case, one solution is guaranteed.


Author of the construction of GeoGebra: Rafael Losada
3x3 Lights Out (All Lights) of 3 states
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Your goal is to turn off all the lights. The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent squares.
You can find more information about this game in this article (June 2002) of Suma magazine (Spanish magazine on the teaching and learning of mathematics).


Author of the construction of GeoGebra: Rafael Losada
3x3 Lights Out of 3 states
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Your goal is to turn off all the lights. The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent squares.
To play, you have two possibilities:
- Set the position you want to solve. To do this, click on the desired squares to turn them on and then press the SET button. Depending on your lights distribution, there may or may not be a solution.
- Let GeoGebra randomly generate a distribution by pressing the RANDOM button. In this case, one solution is guaranteed.


Author of the construction of GeoGebra: Rafael Losada
Lights Out up to 20x20
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Your goal is to turn off all the lights. The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent squares.
You can choose up to 7 different states of lights and expand the board up to 20 rows by 20 columns.
1. First you have to establish the puzzle to solve. You can do it manually, coloring the boxes as you wish. Please note that your configuration may not be solvable. You can also choose to have the application Randomly color the board. In this case, the existence of a solution is guaranteed.
2. Afterwards you can try to solve the puzzle, that is, turn off all the lights. If you succeed, a congratulations message will appear.
3. Finally, you can see all the solutions of the proposed puzzle.
You can find more information about this game in this article (June 2002) of Suma magazine (Spanish magazine on the teaching and learning of mathematics).

Author of the construction of GeoGebra: Rafael Losada
Hysteria
This activity belongs to the GeoGebra book Lights Out (Games with solutions).
Try to color the entire board. Each time you click on a cell, it will change its color to one of six, chosen at random.
The madness, the hysteria, resides in the fact that if this new color coincides with the one of a neighboring square... the square pressed and all the neighboring ones will turn off! This can be especially infuriating when you've managed to almost completely color the board...
It's a matter of luck! Notice that the probability of "being unlucky" varies depending on the number of neighboring cells already colored. If we were guaranteed that no pair of neighboring cells could have the same color, the probability of bad luck would be very easy to calculate:
0 cells: probability of bad luck = 0/6 = 0
1 cell: probability of bad luck = 1/6
2 cells: probability of bad luck = 2/6 = 1/3
3 cells: probability of bad luck = 3/6 = 1/2
4 cells: probability of bad luck = 4/6 = 2/3
But since there can be neighboring cells with the same color, that probability decreases:
0 cells: probability of bad luck = 0/6 = 0
1 cell: probability of bad luck = 1/6
2 cells: probability of bad luck = 11/36 (approximately 0.31)
3 cells: probability of bad luck = 91/216 (approximately 0.42)
4 cells: probability of bad luck = 641/1296 (approximately 0.49)
So the more neighboring cells are already colored, the more likely it is that they will turn off when trying to color the chosen cell, although in any case it is always more likely to get colored than not.
If you are using a computer and find that the application responds slowly, you can download it here to increase speed.

A possible strategy could be to first cover half the board with the same color, as if it were a checkerboard:

Thus, the probability that each cell that remains to be colored will turn off the neighboring cells will always be 1/6. From there, each time this happens, we proceed to rebuild "the damage caused" on the checkerboard before continuing until we color the entire board:

Author of the construction of GeoGebra: Rafael Losada
Saving…
All changes saved
Error
A timeout occurred. Trying to re-save …
Sorry, but the server is not responding. Please wait a few minutes and then try to save again.