In a school there are 300 boys and 300 girls, divided into 5 classes, each with the same number of students. It is known that there are at least 33 boys and 33 girls in each class. A boy and a girl from the same class can enter a contest as a group. What is the maximum number of groups that can be guaranteed to form?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Note: The answer is intuitive and it's fairly easy to check that it's the correct answer, but it's a little more complicated to provably find the answer. I've shown the deduction below, but note that we could have found the answer more easily.
Put B i boys and G i girls into the i th classroom. We make the following two observations:
Combining these, we can make the conclusion that the minimum occurs when at most one class i has B i , G i > 3 3 . In other words, at least four classes have 3 3 pairs. If all five classes had 3 3 pairs, then we would have k classes with 3 3 boys and 5 − k classes with 8 7 boys giving 3 3 k + 8 7 ( 5 − k ) = 3 0 0 ⟹ k = 2 5 , which is absurd since it isn't an integer. That is, exactly four classes have 3 3 pairs.
Suppose k of these four classes have 3 3 girls and the last class has G girls with 3 3 < G < 8 7 . Then this gives 3 3 k + 8 7 ( 4 − k ) + G = 3 0 0 ⟹ 4 8 + G = 5 4 k ⟹ 4 8 + 3 3 < 5 4 k < 4 8 + 8 7 ⟹ k = 2 and G = 5 4 ( 2 ) − 4 8 = 6 0 . This means the fifth class has 1 2 0 − 6 0 = 6 0 boys, and therefore 6 0 pairs.
Finally, we have exhaustively shown that the minimum number of pairs that could be formed across all such schools (which is also the maximum we can guarantee can be formed) is 4 ( 3 3 ) + 6 0 = 1 9 2