Subfield: Combinatorics


Question: In each town in ARMLandia, the residents have formed groups, which meet each week to share math problems and enjoy each others' company over a potluck-style dinner. Each town resident belongs to exactly one group. Every week, each resident is required to make one dish and to bring it to his/her group.

It so happens that each resident knows how to make precisely two dishes. Moreover, no two residents of a town know how to make the same pair of dishes. Shown below are two example towns. In the left column are the names of the town's residents. Adjacent to each name is the list of dishes that the corresponding resident knows how to make.

| ARMLton |  |
| :--- | :--- |
| Resident | Dishes |
| Paul | pie, turkey |
| Arnold | pie, salad |
| Kelly | salad, broth |


| ARMLville |  |
| :--- | :--- |
| Resident | Dishes |
| Sally | steak, calzones |
| Ross | calzones, pancakes |
| David | steak, pancakes |

The population of a town $T$, denoted $\operatorname{pop}(T)$, is the number of residents of $T$. Formally, the town itself is simply the set of its residents, denoted by $\left\{r_{1}, \ldots, r_{\mathrm{pop}(T)}\right\}$ unless otherwise specified. The set of dishes that the residents of $T$ collectively know how to make is denoted $\operatorname{dish}(T)$. For example, in the town of ARMLton described above, pop(ARMLton) $=3$, and dish(ARMLton) $=$ \{pie, turkey, salad, broth\}.

A town $T$ is called full if for every pair of dishes in $\operatorname{dish}(T)$, there is exactly one resident in $T$ who knows how to make those two dishes. In the examples above, ARMLville is a full town, but ARMLton is not, because (for example) nobody in ARMLton knows how to make both turkey and salad.

Denote by $\mathcal{F}_{d}$ a full town in which collectively the residents know how to make $d$ dishes. That is, $\left|\operatorname{dish}\left(\mathcal{F}_{d}\right)\right|=d$.

In order to avoid the embarrassing situation where two people bring the same dish to a group dinner, if two people know how to make a common dish, they are forbidden from participating in the same group meeting. Formally, a group assignment on $T$ is a function $f: T \rightarrow\{1,2, \ldots, k\}$, satisfying the condition that if $f\left(r_{i}\right)=f\left(r_{j}\right)$ for $i \neq j$, then $r_{i}$ and $r_{j}$ do not know any of the same recipes. The group number of a town $T$, denoted $\operatorname{gr}(T)$, is the least positive integer $k$ for which there exists a group assignment on $T$.

For example, consider once again the town of ARMLton. A valid group assignment would be $f($ Paul $)=f($ Kelly $)=1$ and $f($ Arnold $)=2$. The function which gives the value 1 to each resident of ARMLton is not a group assignment, because Paul and Arnold must be assigned to different groups.
Show that $\operatorname{gr}\left(\mathcal{F}_{6}\right)=5$.

Solution:
Now there are $\left(\begin{array}{l}6 \\ 2\end{array}\right)=15$ people, but there are six different dishes, so it is possible (if done carefully) to place three people in a group. Because four people in a single group would require there to be eight different dishes, no group can have more than three people, and



so $15 / 3=5$ groups is minimal. (Alternatively, there are five different residents who can cook dish $d_{1}$, and no two of these can be in the same group, so there must be at least five groups.) The assignment below attains that minimum.

| Residents | Group |
| :---: | :---: |
| $r_{12}, r_{34}, r_{56}$ | 1 |
| $r_{13}, r_{25}, r_{46}$ | 2 |
| $r_{14}, r_{26}, r_{35}$ | 3 |
| $r_{15}, r_{24}, r_{36}$ | 4 |
| $r_{16}, r_{23}, r_{45}$ | 5 |