You are responsible for arranging a banquet for an agency. In the agency, some pairs of agents are enemies. A group of agents are called avengers, if and only if the number of agents in the group is odd and at least 3, and it is possible to arrange all of them around a round table so that every two neighbors are enemies.
You figure out a way to assign all agents to 11 tables so that any two agents on the same tables are not enemies, and that's the minimum number of tables you can get. Prove that there are at least avengers in the agency.
Solution
將每個員工視為一個頂點,並將每對仇人之間連線,從而將問題轉化到圖 上。考慮用若干顏色去塗這些點的塗色法;一個塗法被稱為”合法的”,若且唯若任兩邊的兩端點的顏色不同。則原題等價於:若最少色的合法塗法為 色,則圖 上至少存在 個環。
對於任何 色塗法, 以 來表示之, 其中 為被塗成第 色的點所成集合。讓我們用以下方式將塗法排序:對於兩種塗法 和 , 若 則 。若 , 則再比較 和 , 若 則 。若再相等則比較 , 依此類推。換言之, 若 , 則 若且唯若 。
We will consider some minimal coloring among all valid -colorings. Call a cycle a "rainbow cycle" if and only if the vertices on it include all colors. We will prove that a minimal coloring has the following property:
Property 1. If is odd, then under a minimal valid coloring, there exists a rainbow cycle with an odd number of vertices.
Proof of Property 1. Clearly is not empty, so there exists . We will prove that there exists a rainbow cycle on which there is only one point of , namely .
Construct a subgraph: first, mark . Next, mark the points of that are connected to . Next, mark all the points of that are connected to some marked point of . Continue in this manner, each time marking all the points of that are connected to some marked point of , where , and so on (in other words, after we no longer consider points of ). Repeat this process until no more points can be marked (since there are finitely many points, this process must terminate in finitely many steps).
Let the set of all marked points be denoted by . Clearly, points in cannot be connected to points in . Moreover, can reach any point of by a finite path of edges.
Now, consider a new coloring , where:
In other words, is obtained by first coloring all points using , and then recoloring the marked points of to color 3, the marked points of to color 4, and so on, and finally the marked points of to color 2. By the construction above, must also be valid (since it can be viewed as a relabeling of colors on the entire connected subgraph). Moreover, must be connected to some ; otherwise, we could recolor with color 2, and this coloring would still be valid and smaller (since color 1 would have one fewer point), contradicting the assumption that the original coloring is minimal. Also note that if , then this means ; but if so, since and are connected, should have been marked in the first step and would be sent to when recolored to , a contradiction! Therefore and .
Now, since , there must exist a finite path of edges connecting and , which passes through up to . At the same time, from the discussion above, and are connected by an edge. These two facts together form a rainbow cycle with an odd number of vertices, as desired!
Proof of the original problem: Consider a minimal valid coloring . Suppose and is an odd number greater than 1. We will prove that there exists a cycle in the original graph whose vertices have exactly the colors corresponding to , and no others; if so, since there are choices for (subsets with an odd number of elements, excluding singleton subsets), the original graph has distinct cycles, and the original claim follows.
Let be the set of all vertices of color in , let , and let be the subgraph induced by . Note that the valid coloring remains valid when restricted to this subgraph. Moreover, it is still minimal, because if it were not, then there would exist a smaller coloring on the subgraph, and we could then consider a coloring of the original graph that colors all points of according to and all points of according to ; this coloring would be smaller than , a contradiction. Hence, the original coloring restricted to the subgraph remains a minimal valid coloring, so by Property 1, there must exist a rainbow cycle in the subgraph whose vertices have exactly the colors corresponding to , and no others. This completes the proof.