GATE Computer ScienceHardGATE CS (PYQ pattern)
How many Hamiltonian paths of the cube graph Q₃ start at a fixed vertex v (paths are counted as sequences beginning at v)?
- A. 6
- B. 18
- C. 12
- D. 144
Correct answer: B. 18
Fix the start v = 000. The first step has 3 choices and the second 2, all equivalent under automorphisms fixing v. Continuing from 000 → 100 → 110, the remaining vertices can be completed in exactly 3 ways (010-011-001-101-111, 010-011-111-101-001, 111-101-001-011-010). So 3 · 2 · 3 = 18. Q₃ has only 6 Hamiltonian cycles; paths need not close up.
More Discrete Mathematics questions
- For how many pairs (m, n) with 1 ≤ m ≤ n ≤ 8 does the complete bipartite graph K{m,n} have an Euler trail (open or closed) that uses every…
- What is the least number of edges that must be deleted from K₅,₇ so that the remaining graph is connected with every vertex of even degree?
- A connected planar graph is cubic (every vertex has degree 3) and every face, including the outer one, is a pentagon or a heptagon. There…
- What is the largest number of edges a simple planar graph with 12 vertices can have if it contains no triangle?
- Which of the following graphs are planar? I. K₅ minus one edge II. the cube Q₃ III. the 4-cube Q₄ IV. the Petersen graph V. K₃,₃ minus one…
- Which of the following degree sequences (each on 8 vertices, simple graph: no loops or parallel edges) are graphic, i.e. realisable? I. 6…