Skip to main content
OlympiadHQ

Browse · MathNet

Print

International Mathematical Olympiad Shortlisted Problems

algebra

Problem

Let be an irrational positive number, and let be a positive integer. A pair of positive integers is called good if A good pair is called excellent if neither of the pairs and is good. (As usual, by and we denote the integer numbers such that and .) Prove that the number of excellent pairs is equal to the sum of the positive divisors of .
Solution
For positive integers and , let us denote We will deal with various values of ; thus it is convenient to say that a pair is -good or -excellent if the corresponding conditions are satisfied. To start, let us investigate how the values and are related to . If , then we have and , so and Similarly, if then one obtains So, in both cases one of the numbers and is equal to while the other is greater than by one of and . Thus, exactly one of the pairs and is excellent (for an appropriate value of ).

Now let us say that the pairs and are the children of the pair , while this pair is their parent. Next, if a pair can be obtained from by several passings from a parent to a child, we will say that is a descendant of , while is an ancestor of (a pair is neither an ancestor nor a descendant of itself). Thus each pair of distinct positive integers has a unique ancestor of the form ; our aim is now to find how many -excellent descendants each such pair has.

Notice now that if a pair is -excellent then . Indeed, if then , so the statement is valid. Otherwise, the pair is a child of some pair . If and , then we should have , so . Similarly, if and then .

Let us consider the set of all pairs such that and . Then all the ancestors of the elements in are again in , and each element in either is of the form with , or has a unique ancestor of this form. From the arguments above we see that all -excellent pairs lie in .

We claim now that the set is finite. Indeed, assume, for instance, that it contains infinitely many pairs with . Such a pair is necessarily a child of , and thus a descendant of some pair with . Therefore, one of the pairs with has infinitely many descendants in , and all these descendants have the form with a positive integer. Since does not decrease as grows, it becomes constant for , where is some positive integer. This means that for all . But this yields for all , which is absurd.

Similarly, one can prove that contains finitely many pairs with , thus finitely many elements at all.

We are now prepared for proving the following crucial lemma.

Lemma. Consider any pair with . Then the number of its -excellent descendants is equal to the number of ways to represent the number as with and being some nonnegative integers.

Proof. We proceed by induction on the number of descendants of in . If then clearly . Assume that ; without loss of generality, we have . Then, clearly, , so and , hence which is impossible. Thus in the base case we have , as desired.

Now let . Assume that and (the other case is similar). If , then by the induction hypothesis we have Notice that both pairs and are descendants of and thus each of them has strictly less descendants in than does.

Next, each one of the representations of as the sum provides the representation with . Similarly, each one of the representations of as the sum provides the representation with . This correspondence is obviously bijective, so as required.

Finally, if then is -excellent, so by the induction hypothesis. On the other hand, the number has a representation and sometimes one more representation as ; this last representation exists simultaneously with the representation , so as well. Thus in this case the step is also proved.

Now it is easy to finish the solution. There exists a unique -excellent pair of the form , and each other -excellent pair has a unique ancestor of the form with . By the lemma, for every the number of its -excellent descendants is , which is the number of ways to represent as (with nonnegative integer and ). This number is 0 if , and otherwise. So the total number of excellent pairs is as required.

Techniques

Floors and ceilingsTechniques: modulo, size analysis, order analysis, inequalitiesRecursion, bijectionσ (sum of divisors)