GATE Computer ScienceHardGATE CSE
How many labelled trees on the vertex set {1, …, 6} have exactly 2 leaves (that is, are paths)?
- A. 300
- B. 360
- C. 420
- D. 240
Correct answer: B. 360
A tree with exactly 2 leaves is a path; the number of labelled paths is 6!/2 = 360 (the Prüfer sequences with 4 distinct entries give the same count).
More Discrete Mathematics questions
- How many distinct necklaces of 6 beads can be made with 3 colours when only rotations are considered equivalent (reflections are different)?
- How many labelled trees on the vertices 1, …, 7 have vertex 1 of degree exactly 3?
- 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?