IMC / 2009 / Problems / Day 1, P3
IMC 2009 · Day 1 · P3
hardIn a town every two residents who are not friends have a friend in common, and no one is a friend of everyone else. Let us number the residents from 1 to and let be the number of friends of the -th resident. Suppose that . Let be the smallest number of residents (at least three) who can be seated at a round table in such a way that any two neighbors are friends. Determine all possible values of .
Solution (official)
Let us define the simple, undirected graph so that the vertices of are the town's residents and the edges of are the friendships between the residents. Let denote the vertices of ; is degree of for every . Let denote the edges of . In this terminology, the problem asks us to describe the length of the shortest cycle in .
Let us count the walks of length 2 in , that is, the ordered triples of vertices with ( being allowed). For a given the number is obviously , therefore the total number is .
Now we show that there is an injection from the set of ordered pairs of distinct vertices to the set of these walks. For , let with arbitrary such that . For , let . is an injection since for , can only be the image of , and for , it can only be the image of .
Since the number of ordered pairs of distinct vertices is , . Equality holds iff is surjective, that is, iff there is exactly one with for every with and there is no such for any with . In other words, iff contains neither nor (cycles of length 3 or 4), that is, is either a forest (a cycle-free graph) or the length of its shortest cycle is at least 5.
It is easy to check that if every two vertices of a forest are connected by a path of length at most 2, then the forest is a star (one vertex is connected to all others by an edge). But has vertices, and none of them has degree . Hence is not forest, so it has cycles. On the other hand, if the length of a cycle of is at least 6 then it has two vertices such that both arcs of connecting them are longer than 2. Hence there is a path connecting them that is shorter than both arcs. Replacing one of the arcs by this path, we have a closed walk shorter than . Therefore length of the shortest cycle is 5.
Finally, we must note that there is at least one with the prescribed properties – e.g. the cycle itself satisfies the conditions. Thus 5 is the sole possible value of .
How the field did
Score distribution (field cohort)
Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.