Daily

Random

Practice set

Baltic Way 2019 · Problem 7

Combinatorics

Find the smallest integer k≥2k\ge2 such that for every partition of the set {2,3,…,k}\{2,3,\ldots,k\} into two parts, at least one of these parts contains (not necessarily distinct) numbers a,ba,b and cc with ab=cab=c.

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Colorings and configurations · Pigeonhole and extremal arguments

Solutions

Solution

We show first that k=32k = 32 is such a number. Consider a partition {U,V}\{U, V\} of the set {2,3,…,32}\{2, 3, \dots, 32\} where we may assume that 2∈U2 \in U. Towards contradiction, suppose that none of the parts contains numbers a,ba, b and cc with the desired property. As 2∈U2 \in U and 2⋅2=42 \cdot 2 = 4, we have 4∈V4 \in V. Similarly, 4⋅4=164 \cdot 4 = 16 implies 16∈U16 \in U. Hence 2,16∈U2, 16 \in U, but 2⋅8=162 \cdot 8 = 16, so 8∈V8 \in V. We have concluded that 2,16∈U2, 16 \in U and 4,8∈V4, 8 \in V, but 2⋅16=32=4⋅82 \cdot 16 = 32 = 4 \cdot 8, which implies that the number 3232 cannot be in any of the parts, which is a contradiction. Therefore, k=32k = 32 is a desired number.

We now prove that k=32k = 32 is actually the least number with the desired property. We form the partition {U,V}\{U, V\} of the set K={2,3,…,31}K = \{2, 3, \dots, 31\} in the following way. For any number n∈Z+n \in \mathbb{Z}_+, consider its prime factorization representation n=∏i=0k−1pin = \prod_{i=0}^{k-1} p_i, and put Ω(n)=k\Omega(n) = k. If n<32=25n < 32 = 2^5, then nn is necessarily a product of at most four primes (with repetitions counted) or Ω(n)≥4\Omega(n) \ge 4. Put

U={n∈K∣Ω(n)=1 tai Ω(n)=4}U = \{n \in K \mid \Omega(n) = 1 \text{ tai } \Omega(n) = 4\}

and

V={n∈K∣Ω(n)=2 tai Ω(n)=3}.V = \{n \in K \mid \Omega(n) = 2 \text{ tai } \Omega(n) = 3\}.

Let a,b,c∈Ka, b, c \in K be numbers with ab=cab = c. We observe that Ω(c)=Ω(a)+Ω(b)\Omega(c) = \Omega(a) + \Omega(b). On the other hand, we have Ω(c)≤4\Omega(c) \le 4, as c∈Kc \in K. If now a,b∈Ua, b \in U, then necessarily Ω(a)=Ω(b)=1\Omega(a) = \Omega(b) = 1, which implies Ω(c)=2\Omega(c) = 2 and c∈Vc \in V. If instead of that a,b∈Va, b \in V, then Ω(a)=Ω(b)=2\Omega(a) = \Omega(b) = 2 and Ω(c)=4\Omega(c) = 4, so c∈Uc \in U. □\square

Contest context

Results from Baltic Way 2019

11 teams

Mean score
4.5 / 5
Scores of 4 or 5
10 / 11
Estonia
5 / 5

Score distribution

01
10
20
30
40
510
All team scores
TeamScore
St. Petersburg5 / 5
Poland5 / 5
Estonia5 / 5
Lithuania5 / 5
Germany5 / 5
Norway5 / 5
Finland5 / 5
Denmark5 / 5
Sweden5 / 5
Latvia5 / 5
Iceland0 / 5