GATE Computer ScienceVery hardGATE CSE

How many labelled connected simple graphs exist on the vertex set {1, 2, 3, 4, 5}?

  1. A. 625
  2. B. 768
  3. C. 728
  4. D. 864

Correct answer: C. 728

Subtracting disconnected graphs (classified by the component of vertex 1) from 2¹⁰ = 1024 leaves 728; checked by enumerating all 1024 edge sets.

More Discrete Mathematics questions

Exams that ask this topic