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)?
- A. 732
- B. 729
- C. 720
- 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
- How many onto (surjective) functions f from {1,…,8} to {a,b,c,d} satisfy f(1) ≠ f(2)?
- In how many ways can the set {1, 2, …, 8} be partitioned into non-empty blocks so that every block has at least 2 elements?
- How many integer solutions does x₁ + x₂ + x₃ + x₄ + x₅ = 30 have if 3 ≤ xᵢ ≤ 10 for every i?
- A path runs from (0,0) to (7,7) using unit steps right (+1,0) or up (0,+1). It must satisfy y ≤ x at every lattice point visited and must…
- What is the value of 7^(7^7) mod 100 (the last two digits of 7 raised to the power 7⁷)?
- How many equivalence relations on the set {1, 2, 3, 4, 5, 6, 7} have exactly 3 equivalence classes?