GATE Computer ScienceHardGATE CSE · NIELIT
How many proper vertex colourings does the 5-cycle C₅ have when 3 colours are available?
- A. 24
- B. 36
- C. 42
- D. 30
Correct answer: D. 30
The chromatic polynomial of Cₙ is (k−1)ⁿ + (−1)ⁿ(k−1); for n = 5, k = 3 it is 2⁵ − 2 = 30.
More Discrete Mathematics questions
- Let a₀ = 1, a₁ = 3 and aₙ = 3aₙ₋₁ − 2aₙ₋₂ for n ≥ 2. What is a₁₀?
- How many integers from 1 to 1000 are relatively prime to 30?
- How many automorphisms does the 3-dimensional hypercube graph Q₃ (8 vertices, 12 edges) have?
- A lattice path from (0, 0) to (6, 6) uses unit steps right or up and never goes above the line y = x. How many such paths are there?
- In how many ways can 10 be written as a sum of distinct positive integers, where the order of the terms does not matter?
- How many distinct Hamiltonian cycles does the complete graph K₇ contain (a cycle and its reverse are the same, and rotations are the same)?