Daily

Random

Practice set

Baltic Way 2021 · Problem 20

Number Theory

Let n≥2n \geq 2 be an integer. Given numbers a1,a2,…,an∈{1,2,3,…,2n}a_{1}, a_{2}, \ldots, a_{n} \in\{1,2,3, \ldots, 2 n\} such that lcm⁡(ai,aj)>2n\operatorname{lcm}\left(a_{i}, a_{j}\right)>2 n for all 1≤i<j≤n1 \leq i<j \leq n, prove that

a1a2⋯an∣(n+1)(n+2)⋯(2n−1)(2n).a_{1} a_{2} \cdots a_{n} \mid(n+1)(n+2) \cdots(2 n-1)(2 n) .
Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Divisibility and factorization · GCD and LCM

Solutions

Solution

For every i=1,2,…,ni = 1, 2, \dots, n let ai=bi⋅2cia_i = b_i \cdot 2^{c_i} where bib_i is odd. Note that the bib_i's are pairwise distinct. Indeed, if bi=bjb_i = b_j for some i<ji < j then one of the numbers ai,aja_i, a_j divides the other one, so lcm(ai,aj)=max⁡(ai,aj)≤2n\text{lcm}(a_i, a_j) = \max(a_i, a_j) \le 2n which is a contradiction. Also, it is clear that each bib_i belongs to {1,3,5,…,2n−1}\{1, 3, 5, \dots, 2n-1\}. Since there are exactly nn bib_i's and the set {1,3,5,…,2n−1}\{1, 3, 5, \dots, 2n-1\} has exactly nn elements, we have

{b1,b2,…,bn}={1,3,5,…,2n−1}.\{b_1, b_2, \dots, b_n\} = \{1, 3, 5, \dots, 2n-1\}.

Now, for every ii let did_i be the greatest dd such that bi⋅2d≤2nb_i \cdot 2^d \le 2n. Note that bi⋅2di∈{n+1,n+2,…,2n}b_i \cdot 2^{d_i} \in \{n+1, n+2, \dots, 2n\} as otherwise bi⋅2di+1≤2nb_i \cdot 2^{d_i+1} \le 2n, contradicting maximality of did_i. Note that the numbers bi⋅2dib_i \cdot 2^{d_i} are pairwise distinct (because Z\mathbb{Z} is a unique factorization domain). Again, we have nn pairwise distinct numbers b1⋅2d1,b2⋅2d2,…,bn⋅2dnb_1 \cdot 2^{d_1}, b_2 \cdot 2^{d_2}, \dots, b_n \cdot 2^{d_n} belonging to the nn-element set {n+1,n+2,…,2n}\{n+1, n+2, \dots, 2n\}, hence

{b1⋅2d1,b2⋅2d2,…,bn⋅2dn}={n+1,n+2,…,2n}.\{b_1 \cdot 2^{d_1}, b_2 \cdot 2^{d_2}, \dots, b_n \cdot 2^{d_n}\} = \{n+1, n+2, \dots, 2n\}.

Reindexing aia_i's if necessary, we can assume that bi⋅2di=n+ib_i \cdot 2^{d_i} = n + i for every ii. Clearly, ci≤dic_i \le d_i, so ai=bi⋅2cia_i = b_i \cdot 2^{c_i} for every bi⋅2di=n+ib_i \cdot 2^{d_i} = n + i. As a consequence,

a1a2…an∣(n+1)(n+2)…(2n−1)(2n),a_1 a_2 \dots a_n \mid (n+1)(n+2)\dots(2n-1)(2n),

as desired. □\square

Contest context

Results from Baltic Way 2021

12 teams

Mean score
2.4 / 5
Scores of 4 or 5
5 / 12
Estonia
5 / 5

Score distribution

05
11
20
31
40
55
All team scores
TeamScore
St. Petersburg5 / 5
Estonia5 / 5
Germany5 / 5
Latvia5 / 5
Lithuania0 / 5
Poland0 / 5
Denmark5 / 5
Norway0 / 5
Finland1 / 5
Sweden0 / 5
Iceland0 / 5
Ireland3 / 5