• retagged by
36,747 views
52 52 votes

Let $G$ be an undirected complete graph on $n$ vertices, where $n > 2$. Then, the number of different Hamiltonian cycles in $G$ is equal to

  1. $n!$
  2. $(n-1)!$
  3. $1$
  4. $\frac{(n-1)!}{2}$

16 Answers

1 1 vote

Lets take an example.

If the graph has 4 vertices(a,b,c,d)  and it is complete graph. Hamiltonian graph is visiting each vertex exactly once and return back to starting vertex.

a _b_c_d_ a ...all the permutations of b,c,d is possible since it is complete graph. This permutations done in 3! ways. And b,c,d and d,c,a, all reverse pair counter twice. So, divide it by 2. Ans. Is 3!/2.

For n vertex, answer is (n-1)!/2.

 

• edited by
1 1 vote
This is equivalent to the garland flowers/beads problem in combinatorial analysis. The answer I think is $(n-1)! /2$
0 0 votes
Basically, say there are 3 vertices so it will be a triangle. Now, it's just a circular permutation of 3 vertices, keeping one vertex fixed, but keeping in consideration clockwise and anticlockwise permutations, we say total (n-1)!/2 permutations possible.
0 0 votes

Since the graph is complete, any permutation starting with a fixed vertex gives an (almost) unique cycle (the last vertex in the permutation will have an edge back to the first, fixed vertex. Except for one thing: if you visit the vertices in the cycle in reverse order, then that's really the same cycle (because of this, the number is half of what permutations of (n-1) vertices would give you).

e.g. for vertices 1,2,3, fix "1" and you have:

123 132

but 123 reversed (321) is a rotation of (132), because 32 is 23 reversed.

There are (n-1)! permutations of the non-fixed vertices and half of those are the reverse of another, so there are (n-1)!/2 distinct Hamiltonian cycles in the complete graph of n vertices.

 

https://stackoverflow.com/questions/1387523/how-can-i-find-the-number-of-hamiltonian-cycles-in-a-complete-undirected-graph

0 0 votes

The number of Hamiltonian cycles in a complete, undirected and labelled graph on n vertices is $\frac{(n-1)!}{2}$ // Option D

The number of Hamiltonian cycles in a complete, directed and labelled graph on n vertices is $(n-1)!$ 

The number of Hamiltonian cycles in a complete, unlabelled graph on n vertices is $1$ // Option C

Answer:
Position:
Show:

Related questions

64 64 votes
7 answers 7 answers
36.4k
36.4k views
Arjun asked Feb 7, 2019
36,386 views
Let $G$ be any connected, weighted, undirected graph.$G$ has a unique minimum spanning tree, if no two edges of $G$ have the same weight.$G$ has a unique minimum spanning...
1 1 vote
1 1 answer
1.7k
1.7k views
akash.dinkar12 asked Apr 8, 2019
1,687 views
Show that if the edge set of the graph $G(V,E)$ with $n$ nodes can be partitioned into $2$ trees, then there is at least one vertex of degree less than $4$ in $G$.
1 1 vote
3 3 answers
2.5k
2.5k views
Tesla! asked Feb 5, 2018
2,502 views
An undirected graph is $\text{connected}$ if, for any two vertices $\{u, v\}$ of the graph, there is a path in the graph starting at $u$ and ending at $v$. A tree is a co...
2 2 votes
2 2 answers
2.1k
2.1k views
Tesla! asked Feb 4, 2018
2,083 views
Let $G$ be an arbitrary graph on $n$ vertices with $4n − 16$ edges. Consider the following statements:There is a vertex of degree smaller than $8$ in $G$.There is a verte...