GATE Computer ScienceVery hardNIELIT Scientist B
How many labelled trees on the vertices 1, …, 7 have vertex 1 of degree exactly 3?
- A. 1800
- B. 2700
- C. 1440
- D. 2160
Correct answer: D. 2160
In a Prüfer sequence of length 5 vertex 1 must appear exactly twice: C(5,2) × 6³ = 2160.
More Discrete Mathematics questions
- Ten circles are drawn in the plane so that every two intersect in exactly two points and no three circles pass through a common point…
- How many permutations of {1, 2, …, 8} have exactly 3 fixed points?
- How many pairwise non-isomorphic simple graphs (connected or not) have exactly 5 vertices and exactly 5 edges?
- How many elements of the symmetric group S₆ have order exactly 6?
- How many solutions does x₁ + x₂ + x₃ + x₄ = 15 have in integers with 0 ≤ xᵢ ≤ 6 for every i?
- How many subsets of {1, 2, …, 12} (including the empty set) contain no two consecutive integers?