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.
Looking for a route rather than an archive? The track puts 2,000
problems in a working order, from AMC 10 level to the IMO shortlist.