Browse · MathNet
PrintSELECTION TESTS FOR THE 2019 BMO AND IMO
Romania 2019 counting and probability
Problem
Let and be positive integers, and let be pairwise disjoint -element sets of positive integers such that no member of is divisible by one of , whatever (indices are reduced modulo ). Determine the largest number of ordered pairs , where and are members of distinct 's, and is divisible by .
Solution
The required maximum is , and is achieved if, for instance
For brevity, an ordered pair satisfying the conditions in the statement will be called suitable. We show that the number of suitable pairs does not exceed . For every -tuple , where is a member of , , let be the number of suitable pairs it contains. We show by induction on that . Since there are exactly -tuples, and each suitable pair is contained in exactly such, the conclusion follows. The case is easily dealt with. Let and fix an -tuple , , ; without loss of generality, we may and will assume that is the largest entry. The -tuple then satisfies the induction hypothesis: does not divide , does not divide , and so on and so forth, does not divide , and, by maximality, does not divide . We show that the number of suitable pairs containing does not exceed . It then follows that , as desired. Notice that, for each in the range through , at most one of the pairs , is suitable. If neither nor is suitable for some , then the number of suitable pairs containing is clearly at most . Otherwise, since the pairs and , , are not simultaneously suitable, and the pair is certainly not suitable, by maximality of , it follows that the pairs , , are all suitable, contradicting the fact that does not divide . This ends the proof.
For brevity, an ordered pair satisfying the conditions in the statement will be called suitable. We show that the number of suitable pairs does not exceed . For every -tuple , where is a member of , , let be the number of suitable pairs it contains. We show by induction on that . Since there are exactly -tuples, and each suitable pair is contained in exactly such, the conclusion follows. The case is easily dealt with. Let and fix an -tuple , , ; without loss of generality, we may and will assume that is the largest entry. The -tuple then satisfies the induction hypothesis: does not divide , does not divide , and so on and so forth, does not divide , and, by maximality, does not divide . We show that the number of suitable pairs containing does not exceed . It then follows that , as desired. Notice that, for each in the range through , at most one of the pairs , is suitable. If neither nor is suitable for some , then the number of suitable pairs containing is clearly at most . Otherwise, since the pairs and , , are not simultaneously suitable, and the pair is certainly not suitable, by maximality of , it follows that the pairs , , are all suitable, contradicting the fact that does not divide . This ends the proof.
Final answer
((m-1)(m-2)/2) * n^2
Techniques
Counting two waysInduction / smoothingColoring schemes, extremal argumentsDivisibility / Factorization