Notation:
- We will denote a complete graph of order $a$ (also called $a$-clique) as $\mathbb K[a]$.
- Any general graph of order $a$ will be denoted by $\mathbb G[a]$.
- the colored degree of a vertex is the number of edges of a particular color emerging out of that vertex. $\#c(v)$ denotes the number of $c$-colored edges emerging out of $v$.
define $P(m,n) = R(\mathbb P[m],\mathbb K[n])$ . that is the smallest number $R$ for which a red-blue coloring of the edges of $\mathbb K[R]$ either contains a red $\mathbb P[m]$ or a blue $\mathbb K[n]$. Note, that path length is usually measured by the number of edges, but here $m$ denotes the number of vertices in the path.
we claim that ${P(m+1,n+1) \le P(m+1,n) + P(m,n+1) = T} \ \ \ \ \ \ \ \ \ \ (1) $.
construct a red-blue coloring of $\mathbb K[T]$. the degree of any vertex is ${P(m+1,n) + P(m,n+1) -1}$. suppose there exists $v^*$ such that $\#r(v^*) \ge P(m,n+1)$
indeed, if we have a blue $\mathbb K[n+1]$ , we are done. if we have a red $\mathbb P[m]$, join to $v^*$ by red edge. and we are done.
Else, all vertices have $\#r(v) < P(m,n+1)$. hence $\#b(v) > P(m+1,n) -1$. So indeed, ${\#b(v) \ge P(m+1,n)}$.
if we have a red $\mathbb P[m+1]$, we are done. if we have a blue $\mathbb K[n]$, $v$ is adjacent to $\mathbb K[n]$ via all blue edges, hence, we are done.
notice that $P(m,2) = m, P(n,2) = n$. Hence, we can use a double induction (using inequality $(1)$) to show that $P(m,n) \le (m-1)(n-1) + 1$.
we claim that $P(m,n) = (m-1)(n-1) + 1$.
suppose $P(m,n) \le (m-1)(n-1)$. This will act as a base case for our inductive descent into absurdity.
we will show that if $r < min((m-1)(n-2)),((m-2)(n-1))$ , ${P(m,n) \le (m-1)(n-1) -r }$ implies $P(m,n) \le (m-1)(n-1) -r -1$. that is we can safely delete a vertex.
let $T' = (m-1)(n-1) - r$. construct a red-blue coloring of $\mathbb K[T']$. Now, suppose ${P(m,n) \le (m-1)(n-1) -r }$.
given that $r < min((m-1)(n-2)),((m-2)(n-1))$, if we find a red $\mathbb P[m]$ , the remaining vertices are $(m-1)(n-2) - r$ in number, which is greater than zero. So delete one vertex from this. Similarly, if we find a blue $\mathbb K[n]$, the remaining verticles are $(m-2)(n-1) - r$ in number, which is greater than zero, so we can delete 1 vertex from this.
Hence, the induction is closed reaching ${ r = min((m-1)(n-2)),((m-2,n-1))}$.
so suppose $m<n$. then, $r = (m-2)(n-1)$.
indeed, it must be that ${P(m,n) \le (m-1)(n-1) - (m-2)(n-1)}$. Hence, $P(m,n) \le n-1$. Color all edges of $\mathbb K[n-1]$ blue. Then, we neither have a blue $\mathbb K[n]$ nor a red $\mathbb P[m]$, reaching a contradiction.
Similarly, let $m\ge n$. Then, $r =(m-1)(n-2)$. we get $P(m,n) \le m-1$. color all edges of $\mathbb K[m-1]$ red. we neither have a blue $\mathbb K[n]$ nor a red $\mathbb P[m]$, again reaching a contradiction.
The thing is, our induction step is correct. Therefore, the base case must be wrong. Hence $P(m,n) > (m-1)(n-1)$. Arriving at the desired result.
Define $P^*(a_1,a_2,...a_n) = R(\mathbb P[a_1],\mathbb P[a_2],... , \mathbb P[a_n])$.
Now, notice that $P(a_1,a_2,...a_n) \le P(a_1, P^*(a_2,..a_n)) = (a_1-1)(P^*(a_2,..a_n) - 1) + 1$.
Applying this recursively, we get that $P^*(a_1,a_2,...a_n) \le \prod_{i=1}^{n} (a_i -1) + 1.$ Setting each ${a_i = a}$, we obtain the desired result.