Skip to main content
OlympiadHQ

Browse · MathNet

Print

SAUDI ARABIAN MATHEMATICAL COMPETITIONS

Saudi Arabia counting and probability

Problem

In a school there are 40 different clubs, each of them contains exactly 30 children. For every from to define as a number of children who attend exactly clubs. Prove that it is possible to organize 40 new clubs with 30 children in each of them such that the analogical numbers will be the same for them.
Solution
We will do the following algorithm to rearrange the children. - Put the children who attend exactly one club at the start of the line (in any order). - Put the children who attend exactly 2 clubs at the start of the line (in any order), and so on. - Finally, put the children who attend exactly 30 clubs at the start of the line (in any order).

Since each club contains 40 children, then the number of pairs (club, child) is equal to

Now back to the line, we will count from and for each number, we will point at the children in the following way: - We point at the children from the top to the bottom of the line. - If a child attends clubs, we point at him times (each time, we also count the numbers).

Finally, we create the new clubs and add children to them using the rule: if we count a number while pointing at some child, then put that one into for any .

We will count numbers which are for each , so indeed, each club has exactly 30 children, and no one appears in the same club since each child is counted at most 30 times in the row. And it is easy to check that the numbers remain unchanged.

Techniques

Counting two waysInvariants / monovariantsAlgorithms