Let $k \geq 3$ and $n = (k−1)^2$. Give an explicit 2-coloring of the edges of $K_n$ that does not have a monochromatic $K_k$.
My thoughts were to partition the graph into k-1 subgraphs each with k-1 many vertices and color all edges connecting vertices of the same subgraph as red, and all edges connecting vertices of different subgraphs blue.
Does this work?