Hamiltonian

1 min read Last updated Tue May 26 2026 10:17:45 GMT+0000 (Coordinated Universal Time)

A graph is said to be Hamiltonian iff it contains a Hamiltonian cycle. Introduced by William Hamilton in 1857, while studying cycles in the dodecahedron graph.

Dirac’s Theorem

A simple graph with n3n \ge 3 vertices is Hamiltonian if every vertex has degree at least n/2n/2.

v  deg(v)n2\forall v\;\text{deg}(v) \ge \frac{n}{2}

Ore’s Theorem

A simple graph with n3n \ge 3 vertices is Hamiltonian if for every pair of non-adjacent vertices uu and vv:

deg(u)+deg(v)n\text{deg}(u) + \text{deg}(v) \ge n
Was this helpful?