GATE Computer ScienceVery hardGATE CS (PYQ pattern)
How many pairwise non-isomorphic trees on 8 vertices have maximum degree exactly 3?
- A. 7
- B. 10
- C. 11
- D. 23
Correct answer: B. 10
Of the 23 trees on 8 vertices, classify by maximum degree: Δ = 2 (path): 1, Δ = 7: 1, Δ = 6: 1, Δ = 5: 3, Δ = 4: 7, leaving Δ = 3: 23 − 13 = 10 (a direct enumeration of the degree sequences 3,3,3,1,…, 3,3,2,…, 3,2,… gives the same 10).
More Discrete Mathematics questions
- How many labelled trees on the vertex set {1, 2, …, 8} have exactly 3 leaves?
- Seven workers w₀…w₆ can do the jobs j₀…j₅: w₀ ∈ {j₀, j₁}, w₁ ∈ {j₀, j₁}, w₂ ∈ {j₀, j₁, j₂}, w₃ ∈ {j₂, j₃}, w₄ ∈ {j₃, j₄}, w₅ ∈ {j₃, j₄}…
- How many independent sets (including the empty set) does the 4×4 grid graph have?
- How many independent sets (including the empty set) does the wheel W₈ have? (W₈ is a hub joined to every vertex of an 8-cycle.)
- Each of the 15 edges of K₆ is coloured red or blue. What is the minimum possible number of monochromatic triangles over all colourings?
- How many closed walks of length 4 (counted with starting vertex and direction) does the Petersen graph have in total?