Definition
A connected graph
with 3 vertices is Hamiltonian if it has a walk which visits every vertex exactly once and then returns to its starting point.
Since such a Hamiltonian walk never repeats vertices (except for returning), it can’t repeat edges either.
Note
This doesn’t imply that a Hamiltonian graph is definitely Eulerian, since a Eulerian circuit also require to visit all the edges
The vertices and edges involved in the walk form a cycle. Thus, a graph
Example
The following graph is Eulerian but not Hamiltonian (no way to only visit
once)
Example
The graph of vertices and edges of a cube is Hamiltonian
The same holds for the other regular polyhedra: tetrahedron, octahedron, dodecahedron, and icosahedron.
Below is a necessary condition for a graph to be Hamiltonian
Theorem
Let
be a Hamiltonian graph
- for any vertex
of , the graph is connected - more generally, for any nonempty subset
of the set of vertices of , the graph obtained by deleting all the vertices in and their edges has at most connected components
Subtopics
The Ore’s theorem states that a graph with sufficiently many edges must be Hamiltonian.

The same holds for the other regular