I'm not an expert and while reading an article on grid coloring these two questions came to my mind:
Given a $n \times n$ matrix randomly filled with values in $\{0,1\}$ ( $P(a_{ij} = 1) = 1/2$), what is the probability that it contains at least one $k \times k \quad (k \leq n)$ submatrix made of all $1$s or all $0$s ("monochromatic") ?
Given a $n \times n$ matrix randomly filled with values in $\{0,1,2,3\}$, what is the probability that it contains at least one $k \times k \quad (k \leq n)$ submatrix composed only with two distinct values (i.e. every element of the submatrix belongs to some (not fixed) $\{v_1,v_2\} \subset \{0,1,2,3\}$) ?