Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Team Selection Contest

Estonia counting and probability

Problem

Let be a positive integer. Find all positive integers , such that it is possible to mark points on the sides of a triangle (different from its vertices) and connect some of them with a line in such a way that the following conditions are satisfied:

1) there is at least 1 marked point on each side;

2) for each pair of points and marked on different sides, on the third side there exist exactly marked points which are connected to both and and exactly points which are connected to neither nor .

Answer: .

problem
Solution
Let , , and be the sets of the points on different sides and , and their cardinalities respectively. Let us count all the triplets , where , , and and they are either pairwise connected or pairwise not connected. For all , there exist exactly points , for which the condition holds: if and are connected, then choose the points which are connected to both; if and are not connected, then pick the points which are connected to neither of them. Therefore the total number of such triplets is . Similarly, for all , we find that the total number of those triplets is , and for all , we find that the number of those triplets is . Therefore, , implying .

Let us now count all the other triplets in which , and . Similarly to the previous paragraph, we can see that for all , there exist exactly points for which is connected to neither of those if and are connected to each other, and is connected to both if and are not connected to each other. The number of such triplets is . Similarly, we then count the triplets in which is connected to neither of or if and are connected to each other and is connected to both and if and are not connected to each other. The number of such points is also . Finally, we count the triplets in which is connected to neither of and if and are connected to each other and is connected to both and if and are not connected. The number of those triplets is also . We have now counted all the possible triplets. Therefore, the total number of triplets (, and ) is . On the other hand, the number of triplets is . The equality gives us .

It remains to prove that it is possible to mark points on each side to satisfy the conditions. Let us first look the case . Let the sides of triangle be labelled as , , and with each of the sides containing points labelled as , , , and . For all we connect the even numbered points on the side with points and on the side and the odd numbered points on the side with points and on the side .



Then we have for each pair of points (which are not on the same side) exactly one point of the third side which are connected to both and exactly one point which is connected to neither of them. For case we substitute each point with different points and connect those which were generated from points that were connected before.
Final answer
12k

Techniques

Counting two ways