Skip to main content
OlympiadHQ

Browse · MathNet

Print

45th Mongolian Mathematical Olympiad

Mongolia counting and probability

Problem

Given different natural numbers such that if two of any three numbers are not relatively prime, then one of the two numbers is not relatively prime to the third. If there do not exist 50 numbers that are relatively prime pairwise, then prove that there exist 40 numbers such that are not relatively prime pairwise. (proposed by B. Bayasgalan)
Solution
Let us construct graph with vertices ; if two numbers are not relatively prime, then connect them with an edge. Then, the resulting graph will not have a subgraph that has three vertices and a single edge, by the given of the problem. Therefore, vertices of the graph can be divided into disjoint sets of independent vertices. Hence, is a -partite graph with vertices. Each arbitrary set of independent vertices will contain no more than vertices. The least number of disjoint sets is . From each of the sets, select an element each, then numbers that are pairwise relatively prime can be selected.

Techniques

Coloring schemes, extremal argumentsPigeonhole principleGreatest common divisors (gcd)