Daily

Random

Practice set

Baltic Way 2020 · Problem 20

Number Theory

Let AA and BB be sets of positive integers with ∣A∣≥2|A| \geq 2 and ∣B∣≥2|B| \geq 2. Let SS be a set consisting of ∣A∣+∣B∣−1|A|+|B|-1 numbers of the form aba b where a∈Aa \in A and b∈Bb \in B. Prove that there exist pairwise distinct x,y,z∈Sx, y, z \in S such that xx is a divisor of yzy z.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Divisibility and factorization

Solutions

Solution

We use induction on k=∣A∣+∣B∣−1k = |A| + |B| - 1. For k=3k = 3 we have ∣A∣=∣B∣=2|A| = |B| = 2. Let A={x,y}A = \{x, y\}, B={z,t}B = \{z, t\}. Then SS consists of three numbers from the set {xz,yz,xt,yt}\{xz, yz, xt, yt\}. Relabelling the elements of AA and BB if necessary, we can assume without loss of generality that the missing number is ytyt. Then xz,xt,yz∈Sxz, xt, yz \in S and xz∣xt⋅yzxz \mid xt \cdot yz which concludes the base case of induction.

For the inductive step, suppose the thesis holds for some k−1≥3k-1 \ge 3. Since k=∣A∣+∣B∣−1≥4k = |A|+|B|-1 \ge 4, we have that max⁡(∣A∣,∣B∣)≥3\max(|A|, |B|) \ge 3, WLOG assume ∣A∣≥3|A| \ge 3. Since the set SS consists of k=∣A∣+∣B∣−1>∣A∣k = |A|+|B|-1 > |A| elements, by pigeonhole principle there exists a number x∈Ax \in A which appears as the first of the two factors of at least two elements of SS. So, there exist y,z∈By, z \in B with xy,xz∈Sxy, xz \in S. If there exists t∈A∖{x}t \in A \setminus \{x\} such that ty∈Sty \in S then we are done because xy∣xz⋅tyxy \mid xz \cdot ty. If there exists no such tt then apply the inductive hypothesis to the sets A∖{x}A \setminus \{x\}, BB and S∖{xy}S \setminus \{xy\}.

Contest context

Results from Baltic Way 2020

10 teams

Mean score
3.3 / 5
Scores of 4 or 5
6 / 10
Estonia
5 / 5

Score distribution

02
11
21
30
40
56
All team scores
TeamScore
Germany5 / 5
Norway2 / 5
Poland5 / 5
Finland5 / 5
Latvia5 / 5
Estonia5 / 5
Denmark0 / 5
Sweden5 / 5
Lithuania0 / 5
Iceland1 / 5