Y by GeoKing
Let
be a positive integer. Initially, a
grid has
black cells and the rest white cells. The following two operations are allowed :
(1) If a
square has exactly three black cells, the fourth is changed to a black cell;
(2) If there are exactly two black cells in a
square, the black cells are changed to white and white to black.
Find the smallest positive integer
such that for any configuration of the
grid with
black cells, all cells can be black after a finite number of operations.



(1) If a

(2) If there are exactly two black cells in a

Find the smallest positive integer



This post has been edited 3 times. Last edited by David-Vieta, Apr 1, 2023, 11:58 PM