Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-1/17g/a/solution

Let have vertices and edges. Its complement graph has
edges. If both graphs were planar, the planar graph edge bound would give
Equivalently, , whose larger root is . Thus an integer is impossible, proving that
Now suppose that and are both bipartite. In a bipartition , every pair within and every pair within is adjacent in . Since a bipartite graph contains no triangle, , and hence . Equality is attained by the path , whose complement is again a copy of . Therefore the maximum order is

New to topics? Read the docs here!