GATE : Computer Science and IT

A graph is self-complementary if it is isomorphic to its complement. For all self-complementary graphs on n vertices, n is , A graph is self-complementary if it is isomorphic to its complement. For all self-complementary graphs on n vertices, n is

A graph is self-complementary if it is isomorphic to its complement. For all self-complementary graphs on n vertices, n is




Solution
D. Congruent to 0 mod 4, or, 1 mod 4



Explanation
An n-vertex self-complementary graph has exactly half number of edges of the complete graph, i.e., n(n − 1)/4 edges, and (if there is more than one vertex) it must have diameter either 2 or 3. Since n(n −1) must be divisible by 4, n must be congruent to 0 or 1 mod 4; for instance, a 6-vertex graph cannot be self-complementary.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad