Skip to main content
OlympiadHQ

Browse · MathNet

Print

IRL_ABooklet

Ireland counting and probability

Problem

There are 28 towns on the island of Mathematia. Each pair of towns is either connected by a single road, or is not connected. It turns out that for any two towns and that have the same number of roads connected to them, there is no road that connects to . Determine, with proof, the maximum number of roads on the island of Mathematia.
Solution
The problem can be restated as follows: Given a graph on 28 vertices, where no two vertices of the same degree are connected by an edge (), determine (with proof) the maximum number of edges in the graph. For , let denote the number of vertices of degree . Thus the total number of edges in the graph is Now, consider any vertex of degree . None of its neighbouring vertices can have degree , so we have . In particular , , and so on, up until . Also, for each we have , since the sum cannot be larger than the total number of vertices in the graph. This yields the following upper bound on the number of edges: This upper bound is attained by the following graph: Partition the 28 vertices into 7 groups of size 1, 2, ..., 7, respectively. Any pair of vertices is connected by an edge if and only if the two vertices lie in different groups. It is easy to see that this graph satisfies the condition of the problem. Because each vertex in the group of size has degree , the total number of edges in this graph is as required.
Final answer
322

Techniques

Graph TheoryCounting two waysColoring schemes, extremal arguments