Let \(\bfG\) be a graph without isolated vertices. We say that \(\bfG\) is eulerian provided that there is a sequence \((x_0,x_1,x_2,\dots,x_t)\) of vertices from \(\bfG\text{,}\) with repetition allowed, so that
When \(\bfG\) is eulerian, a sequence satisfying these three conditions is called an eulerian circuit. A sequence of vertices \((x_0,x_1,\dots,x_t)\) is called a circuit when it satisfies only the first two of these conditions.
An eulerian circuit \(C\) in \(\bfG\text{,}\) a vertex of odd degree in \(\bfG\text{,}\) or a connected component of \(\bfG\) and an edge of \(\bfG\) that is not in that connected component.
While not every edge of \(\bfG\) is traversed, determine if any vertex of \(C\) is incident with an edge that has not been traversed.
If all vertices of \(C\) have all their edges traversed, then return the vertices of \(C\) as a connected component of \(\bfG\) with an edge not traversed by \(C\) demonstrating that \(\bfG\) is not connected.
If \(C\) has a vertex incident with an edge that has not been traversed, call that vertex \(u_0\text{.}\) Construct a walk \(W\) starting from \(u_0\text{.}\) From vertex \(u_i\text{,}\) follow the edge traversed by neither \(C\) nor \(W\) going to the neighbor of \(u_i\) with smallest label.
If \(u_s = u_0\text{,}\) update the circuit \(C\) by replacing \(u_0\) in \(C\) with the walk \(W\text{.}\) Continue iterating by returning to stepΒ 2.
Every group should have two pieces of paper. Each group must draw at least two graphs with \(n\geq 10\) vertices. Put your two graphs on separate pieces of paper.
If \(\bfG\) is a graph on \(n\geq 3\) vertices and each vertex in \(\bfG\) has at least \(\lceil
\frac{n}{2}\rceil\) neighbors, then \(\bfG\) is hamiltonian.