14 students attend the IMO training camp. Every student has at least favourite numbers. The organisers want to give each student a shirt with one of the student's favourite numbers on the back. Determine the least , such that this is always possible if:
The students can be arranged in a circle such that every two students sitting next to one another have different numbers.
of the students are boys, the rest are girls, and there isn't a boy and a girl with the same number.
Problem 1344
Official solution
### Part (a)
1. Understanding the Problem: We need to arrange 14 students in a circle such that every two students sitting next to one another have different numbers. Each student has at least favorite numbers.
2. **Analyzing **: If , each student has only one favorite number. In the worst case, all students could have the same favorite number, making it impossible to arrange them in a circle with different numbers next to each other.
3. **Analyzing **: If , each student has at least two favorite numbers. In the worst case, all students have the same two favorite numbers, say 1 and 2. We can arrange the students in the sequence , ensuring that no two adjacent students have the same number.
Thus, is sufficient.
### Part (b)
1. Understanding the Problem: We have 14 students, 7 boys and 7 girls. Each student has at least favorite numbers, and no boy and girl share the same favorite number. We need to determine the least such that each student can be assigned a favorite number.
2. Graph Representation: Consider a bipartite graph where represents the students and represents the favorite numbers. Each student is connected to at least 4 numbers in .
3. Partitioning: Partition the students into two groups (boys) and (girls). We need to partition into two disjoint sets and such that each boy is connected to a number in and each girl is connected to a number in .
4. Bad Assignments: Define as the set of all possible assignments (partitions) of , which has elements. For each student , let be the set of "bad" assignments for . For boys, consists of assignments where all neighbors of are in . For girls, consists of assignments where all neighbors of are in .
5. Counting Bad Assignments: Since each student is connected to at least 4 numbers, .
6. Union of Bad Assignments: Let . Then,
For ,
Therefore, , meaning there exists an assignment .
7. Conclusion: There exists an assignment that satisfies the conditions, proving that is sufficient.
The final answer is for part (a) and for part (b).