Skip to main content
OlympiadHQ

Browse · MathNet

Print

BMO 2019 Shortlist

2019 number theory

Problem

Let be a nonempty set, where is a positive integer. We denote by the greatest common divisor of the elements of the set . We assume that and let be its smallest divisor greater than . Let be a set such that and . Prove that the greatest common divisor of the elements in is .

Let () be a positive integer and . Let be a nonempty subset of and let () be the smallest common divisor of all elements of the set . Find the smallest positive integer such that for any subset of , consisting of elements, with , the greatest common divisor of all elements of is equal to .
Solution
Let be the greatest common divisor of the elements in . Due to the fact that , we immediately get that . Let us assume for the sake of contradiction that . From the previous observation we get that . By taking into account that , we infer that we can find at least elements in . All of them will be divisible by , and the largest of them, which we shall denote by , will be at least . On the other hand, , hence Therefore, , which contradicts the fact that . In conclusion, , as desired.

Solution: We will show that (here denotes the integer part). Obviously, the number of elements of is not greater than , i.e. , and . If and the greatest common divisor of elements of is equal to , then . 1) Assume that . Let be the subset of , consisting of all multiples of in . Thus, and . Therefore, the greatest common divisor of all elements of is . Thus, . 2) Assume . Let be any subset of with . Therefore, . Let be the greatest common divisor of all elements of . Assume that . Therefore, is a common divisor of all elements of as well. Hence, . It follows that , contradiction. Hence, . Therefore, the minimal possible value of is .
Final answer
1 + floor(n/d)

Techniques

Greatest common divisors (gcd)