We show that
\(R(m,n)\) exists and is at most
\(\binom{m+n-2}{m-1}\text{.}\) This claim is trivial when either
\(m\le 2\) or
\(n\le2\text{,}\) so we may assume that
\(m,n\ge3\text{.}\) From this point, we proceed by induction on
\(t=m+n\) assuming that the result holds when
\(t\le 5\text{.}\)
Now let
\(x\) be any vertex in
\(G\text{.}\) Then there are at least
\(\binom{m+n-2}{m-1}-1\) other vertices, which we partition as
\(S_1\cup S_2\text{,}\) where
\(S_1\) are those vertices adjacent to
\(x\) in
\(G\) and
\(S_2\) are those vertices which are not adjacent to
\(s\text{.}\)
We recall that the binomial coefficients satisfy
\begin{align*}
\binom{m+n-2}{m-1} \amp=\binom{m+n-3}{m-2}+\binom{m+n-3}{m-1}\\
\amp = \binom{m+n-3}{m-2}+\binom{m+n-3}{n-2}\text{.}
\end{align*}
Thus, either \(|S_1|\ge \binom{m+n-3}{m-2}\) or \(|S_2|\ge\binom{m+n-3}{m-1}\text{.}\)
If the first option holds and
\(S_1\) does not have an independent set of size
\(n\text{,}\) then
\(S_1\) contains a complete subgraph of size
\(m-1\text{.}\) Hence, we may add
\(x\) to this set to obtain a complete subgraph of size
\(m\) in
\(G\text{.}\)
Similarly, if the second option holds and
\(S_2\) does not contain a complete subgraph of size
\(m\text{,}\) then
\(S_2\) contains an independent set of size
\(n-1\text{,}\) and we may add
\(x\) to this set to obtain an independent set of size
\(n\) in
\(G\text{.}\)