Suppose G is an $n$-vertex graph containing no triangle as a subgraph. What is the best upperbound you can find for $d(u) + d(v)$, where u and v are two different vertices of $G$. (recall: $d(u)$ means the degree of vertex $u$) .
- I believe the answer is $n$ (the number of vertices)
Say vertices $u,v$ are connected. Let $N(v)$ be set of neighbour for $v$ and $N(u)$ for $u$.
If $|N(u)\cap N(v)|>0$ then there exist $w$ which is connected to both. A contradiction.
So $|N(u)\cap N(v)|=0$ and thus $$d(u)+d(v) = |N(u)|+|N(v)| = |N(u)\cup N(v)|\leq |V(G)| = n$$