Maths Olympiad Prep

Library / /11 of 12

, 2019

Combinatorics Difficulty 8.9 Shortlist Prove it Romania

Let mm and nn be positive integers, and let A1,,AmA_1, \dots, A_m be pairwise disjoint nn-element sets of positive integers such that no member of AiA_i is divisible by one of Ai+1A_{i+1}, whatever ii (indices are reduced modulo mm). Determine the largest number of ordered pairs (a,b)(a, b), where aa and bb are members of distinct AiA_i's, and bb is divisible by aa.

Solution

The required maximum is (m12)n2\binom{m-1}{2}n^2, and is achieved if, for instance
Ak={a(k1)n+1,a(k1)n+2,,akn},k=1,,m1, A_k = \{a^{(k-1)n+1}, a^{(k-1)n+2}, \dots, a^{kn}\}, \quad k = 1, \dots, m-1,

For brevity, an ordered pair (a,b)(a, b) satisfying the conditions in the statement will be called suitable. We show that the number of suitable pairs does not exceed (m12)n2\binom{m-1}{2}n^2.
For every mm-tuple (a1,,am)(a_1, \dots, a_m), where aka_k is a member of AkA_k, k=1,,mk = 1, \dots, m, let k(a1,,am)k(a_1, \dots, a_m) be the number of suitable pairs (ai,aj)(a_i, a_j) it contains.
We show by induction on mm that k(a1,,am)(m12)k(a_1, \dots, a_m) \le \binom{m-1}{2}. Since there are exactly nmn^m mm-tuples, and each suitable pair is contained in exactly nm2n^{m-2} such, the conclusion follows.
The case m=3m = 3 is easily dealt with. Let m4m \ge 4 and fix an mm-tuple (a1,,am)(a_1, \dots, a_m),
akAka_k \in A_k, k=1,,mk = 1, \dots, m; without loss of generality, we may and will assume that
a1a_1 is the largest entry. The (m1)(m-1)-tuple (a1,,am1)(a_1, \dots, a_{m-1}) then satisfies the induction
hypothesis: a2a_2 does not divide a1a_1, a3a_3 does not divide a2a_2, and so on and so forth, am1a_{m-1}
does not divide am2a_{m-2}, and, by maximality, a1a_1 does not divide am1a_{m-1}.
We show that the number of suitable pairs containing ama_m does not exceed m2m-2.
It then follows that $k(a_1, \dots, a_m) \le k(a_1, \dots, a_{m-1}) + m-2 \le \binom{m-2}{2} + m-2 =
\binom{m-1}{2}$, as desired.
Notice that, for each kk in the range 11 through m1m-1, at most one of the pairs
(ak,am)(a_k, a_m), (am,ak)(a_m, a_k) is suitable. If neither (ak,am)(a_k, a_m) nor (am,ak)(a_m, a_k) is suitable for some kk,
then the number of suitable pairs containing ama_m is clearly at most m2m-2. Otherwise,
since the pairs (am,ak)(a_m, a_k) and (ak+1,am)(a_{k+1}, a_m), k=1,,m2k = 1, \dots, m-2, are not simultaneously
suitable, and the pair (a1,am)(a_1, a_m) is certainly not suitable, by maximality of a1a_1, it follows
that the pairs (am,ak)(a_m, a_k), k=1,,m1k = 1, \dots, m-1, are all suitable, contradicting the fact that
ama_m does not divide am1a_{m-1}. This ends the proof.

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 and solution reproduced as published; topic and difficulty added by this site.