[color=#999999]This activity belongs to the [i]GeoGebra book[/i] [url=https://www.geogebra.org/m/JexnDJpt]Lights Out (Games with solutions)[/url].[/color][br][br]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.[br][br]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...[br][br]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:[br][br] 0 cells: probability of bad luck = 0/6 = 0[br] 1 cell: probability of bad luck = 1/6[br] 2 cells: probability of bad luck = 2/6 = 1/3[br] 3 cells: probability of bad luck = 3/6 = 1/2[br] 4 cells: probability of bad luck = 4/6 = 2/3[br][br]But since there can be neighboring cells with the same color, that probability decreases:[br][br] 0 cells: probability of bad luck = 0/6 = 0[br] 1 cell: probability of bad luck = 1/6[br] 2 cells: probability of bad luck = 11/36 (approximately 0.31)[br] 3 cells: probability of bad luck = 91/216 (approximately 0.42)[br] 4 cells: probability of bad luck = 641/1296 (approximately 0.49)[br][br]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.[br][br]If you are using a computer and find that the application responds slowly, you can [url=https://www.geogebra.org/m/xuxgjjkj]download it here[/url] 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:
[color=#999999]Author of the construction of GeoGebra: [color=#999999][url=https://www.geogebra.org/u/rafael]Rafael Losada[/url][/color][/color]