Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Problem Shortlist

number theory

Problem

A social club has members. They have the membership numbers , respectively. From time to time members send presents to other members, including items they have already received as presents from other members. In order to avoid the embarrassing situation that a member might receive a present that he or she has sent to other members, the club adds the following rule to its statutes at one of its annual general meetings:

"A member with membership number is permitted to send a present to a member with membership number if and only if is a multiple of ."

Prove that, if each member follows this rule, none will receive a present from another member that he or she has already sent to other members.

Alternative formulation: Let be a directed graph with vertices , such that there is an edge going from to if and only if and are distinct and is a multiple of . Prove that this graph does not contain a directed cycle.
Solution
Solution 1. Suppose there is an edge from to . Then for some integer , which implies . If and , then divides and thus also divides . Hence, if there is an edge from to , then . If there is a cycle in , say , then we have which implies that all these greatest common divisors must be equal, say be equal to . Now we pick any of the , without loss of generality let it be . Then is a multiple of and hence also (by dividing by ), is a multiple of . Since and are relatively prime, also and are relatively prime. So, by the Chinese remainder theorem, the value of is uniquely determined modulo by the value of . But, as was chosen arbitrarily among the , this implies that all the have to be equal, a contradiction.

Solution 2. If are integers such that and are multiples of , then also is a multiple of . This implies that if there is an edge from to and an edge from to , then there also must be an edge from to . Therefore, if there are any cycles at all, the smallest cycle must have length 2. But suppose the vertices and form such a cycle, i.e., and are both multiples of . Then is also a multiple of , which can only happen if , which is impossible.

Solution 3. Suppose there was a cycle . Then is a multiple of , i.e., . Continuing in this manner, we get . But the same holds for all , i.e., . Hence , which means , a contradiction.

Solution 4. Let be the smallest value of for which the corresponding graph has a cycle. We show that is a prime power. If is not a prime power, it can be written as a product of relatively prime integers greater than 1. Reducing all the numbers modulo yields a single vertex or a cycle in the corresponding graph on vertices, because if then this equation also holds modulo . But since the graph on vertices has no cycles, by the minimality of , we must have that all the indices of the cycle are congruent modulo . The same holds modulo and hence also modulo . But then all the indices are equal, which is a contradiction. Thus must be a prime power . There are no edges ending at , so is not contained in any cycle. All edges not starting at end at a vertex belonging to a non-multiple of , and all edges starting at a non-multiple of must end at . But there is no edge starting at . Hence there is no cycle.

Solution 5. Suppose there was a cycle . Let be a prime power dividing . We claim that either or . Suppose that there is an not divisible by . Then, as is a multiple of , . Similarly, we conclude and so on. So none of the labels is divisible by , but since is a multiple of for all , all are congruent to 1 modulo . This proves the claim. Now, as all the labels are congruent modulo all the prime powers dividing , they must all be equal by the Chinese remainder theorem. This is a contradiction.

Techniques

Chinese remainder theoremGreatest common divisors (gcd)Invariants / monovariantsOther