Maths Olympiad Prep

Library / /63 of 84

, 2013

Combinatorics Difficulty 5.7 AIME, harder Prove it United States

Problem:
A cafe has 3 tables and 5 individual counter seats. People enter in groups of size between 1 and 4, inclusive, and groups never share a table. A group of more than 1 will always try to sit at a table, but will sit in counter seats if no tables are available. Conversely, a group of 1 will always try to sit at the counter first. One morning, MM groups consisting of a total of NN people enter and sit down. Then, a single person walks in, and realizes that all the tables and counter seats are occupied by some person or group. What is the minimum possible value of M+NM+N?

Solution

Solution:
Answer: 16

We first show that M+N16M+N \geq 16. Consider the point right before the last table is occupied. We have two cases:

First, suppose there exists at least one open counter seat. Then, every table must contribute at least 3 to the value of M+NM+N, because no groups of 1 will have taken a table with one of the counter seats open. By the end, the counter must contribute at least 5+2=75+2=7 to M+NM+N, as there must be at least two groups sitting at the counter. It follows that M+N16M+N \geq 16.

For the second case, assume the counter is full right before the last table is taken. Then, everybody sitting at the counter must have entered as a singleton, since they entered when a table was still available. Consequently, the counter must contribute 10 to M+NM+N, and each table contributes at least 2, so once again M+N16M+N \geq 16.

Now, M+N=16M+N=16 is achievable with eight groups of one, who first fill the counter seats, then the three tables. Thus, our answer is 16.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.