Maths Olympiad Prep

Track / Stage 6 / 158 of 400 #1158 of 1964

Problem 1158

National olympiad, first round
Number theory Difficulty 6.2 Prove it

TN2. Let S{1,,n}S \subset\{1, \ldots, n\} be a nonempty set, where nn is a positive integer. We denote by ss the greatest common divisor of the elements of the set SS. We assume that s1s \neq 1 and let dd be its smallest divisor greater than 1 . Let T{1,,n}T \subset\{1, \ldots, n\} be a set such that STS \subset T and T1+[nd]|T| \geq 1+\left[\frac{n}{d}\right]. Prove that the greatest common divisor of the elements in TT is 1 .

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

Solution. Let tt be the greatest common divisor of the elements in TT. Due to the fact that STS \subset T, we immediately get that t/st / s. Let us assume for the sake of contradiction that t1t \neq 1. From the previous observation we get that tdt \geq d.

By taking into account that T1+[nd]|T| \geq 1+\left[\frac{n}{d}\right], we infer that we can find at least 1+[nd]1+\left[\frac{n}{d}\right] elements in TT. All of them will be divisible by tt, and the largest of them, which we shall denote by MM, will be at least t(1+[nd])t \cdot\left(1+\left[\frac{n}{d}\right]\right). On the other hand, tdt \geq d, hence

Mt(1+[nd])d(1+[nd])>dnd=n M \geq t \cdot\left(1+\left[\frac{n}{d}\right]\right) \geq d \cdot\left(1+\left[\frac{n}{d}\right]\right)>d \cdot \frac{n}{d}=n

Therefore, M>nM>n, which contradicts the fact that M{1,,n}M \in\{1, \ldots, n\}. In conclusion, t=1t=1, as desired.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.