GATE Computer ScienceHardGATE CSE

In the complete graph K₄ a walk may repeat vertices and edges. How many closed walks of length 6 exist in total, summing over all 4 starting vertices (the same cycle from different start vertices counts separately)?

  1. A. 732
  2. B. 729
  3. C. 720
  4. D. 1092

Correct answer: A. 732

This is trace(A⁶); the eigenvalues of K₄ are 3 and −1 (three times), so trace = 3⁶ + 3·(−1)⁶ = 732.

More Discrete Mathematics questions

Exams that ask this topic