Suppose that a graph consists of m vertices, all of which have the same degree n $\geq$ 0. The graph can consist of disjoint, connected components, and there is at most one edge between any two vertices. How would I prove that there if there aren't any cycles of exactly 3, the graph must have 2n vertices?
I was planning on doing induction on $m$(the vertices), and trying to use the handshaking lemma to sum the degrees. But I am stuck at the induction step!
Let $xy$ be an edge of $G$. Each of $x$ and $y$ has $n-1$ neighbours in $V(G) - x - y$. The set of neighbours of $x$ and $y$ are disjoint, otherwise $G$ will have a triangle. Therefore, $|V(G) - x- y|\geq 2(n-1)$. Hence $|V(G)| \geq 2n$