GATE Computer ScienceVery hardGATE CSE · NIELIT
How many labelled simple graphs on the vertex set {1,…,7} are 2-regular (every vertex has degree exactly 2)?
- A. 720
- B. 1470
- C. 465
- D. 360
Correct answer: C. 465
A 2-regular graph is a disjoint union of cycles of length ≥ 3: one 7-cycle (6!/2 = 360) or a 3-cycle plus a 4-cycle (35·1·3 = 105), total 465.
More Discrete Mathematics questions
- The Mycielskian of the 5-cycle C₅ (the Grötzsch graph, 11 vertices) is triangle-free. What is its chromatic number?
- How many distinct Hamiltonian cycles (as undirected edge sets, with no starting point or direction) does the complete bipartite graph K₄,₄…
- What is the smallest k such that every k-element subset of {1, 2, …, 30} contains two distinct elements whose sum is divisible by 7?
- How many integers from 1 to 2000 inclusive are divisible by none of 3, 5, 7 and 11?
- How many of the 256 assignments to x₁, …, x₈ satisfy all of: x₁ → x₂, x₂ → x₃, x₃ → x₄, x₅ → x₆, x₆ → x₇, x₇ → x₈, x₄ → ¬x₅ and x₈ → x₁?
- A Boolean function f(x, y, z) is monotone if a ≤ b componentwise implies f(a) ≤ f(b). How many monotone functions satisfy f(1, 0, 0) = 0…