This is from a problem set in a combinatorics course I am taking, and reads as follows:
Let $m\geqslant 1$ be an integer. Prove there exists an $n\geqslant 1$ with he following property: every $M\in \{0,1\}^{n\times n}$ has a principal $m\times m$ submatrix that has all its diagonal elements equal, and all subdiagonal elements equal. Principal means the matrix is obtained from $M$ by deleting $n-m$ columns, and the same rows (i.e. if we delete row $i$, we delete with it column $i$ too).
This clearly suggests the use of (some of the various) Ramsey's theorem. Note that taking an $m\times m$ principal amounts to choosing $m$ elements of the diagonal, and since we want all element of the diagonal to be the same, we know that $n\geqslant R(m,m;1)=2m-1$.
However, I cannot think on what kind of coloring to define that will yield the result. Could anyone give a hint, and maybe give an idea on how to approach this kind of problems?
I think the following hint will help you solving it.
Forget one instant about the diagonal restriction. So you just want a principal $m\times m$ submatrix such that the subdiagonal elements are equal. Now think about the adjacency matrix of a graph, remember that it is symmetric. What does it mean to have a principal $m\times m$ submatrix, with all $1$'s (or $0$'s) in the subdiagonal, in the adjacency matrix of a graph?
Then you have to add the diagonal restriction.