I have a problem much like the Lights Out game (Lights out game algorithm) but without toggling the lights.
I have an n-by-n grid. When I "activate" a tile in the grid, the activated tile and its adjacent (4, except on the sides of the grid, of course) tiles are "lit." The objective is to light the entire n-by-n grid with as few "activations" as possible.
I have tried brute-forcing (2^(n*n)) with programming to see if patterns stick out, but I run out of memory quickly.
The general pattern is activating in chess-knight-L fashion, but I still don't see a general solution.
Is there an existing developed algorithm for the light game without toggling?