Find all pairs of positive integers such that divides .
, 2009
Solutions — 2
Solution 1
Solution 1 (Based on the work of John Berman). The answer is or for some .
We first check that these pairs work: and
We now wish to show that these are the only solutions. First, notice that if or , we have or , respectively, so it is easy to verify that the only solutions are of the claimed form. From now on, we assume that . Suppose that is a solution. Then, notice that
is divisible by , meaning that . But and are relatively prime, so in fact . This means that is a solution if and only if is.
Suppose now for the sake of contradiction that there existed a solution that was not of the stated form. Choose such a solution so that is minimal among such solutions and so that , which we may do by the previous paragraph. Now, notice that and , meaning that . Write for some integer . Notice that is another solution and that
because and . Hence, we see that , so we find . Because was minimal among solutions not of the claimed form, we have either that or for some . In the first case, we see that , so . In the second case, we find that , so . Therefore, is a solution of the claimed form, a contradiction. Hence, we have found all possible solutions.
Solution 2
Solution 2 (By Zuming Feng with assistance from Sherry Gong and Palmer Mebane). We apply Fermat's infinite descent method. Suppose that is a pair of positive integers satisfying the given conditions. By the given condition, we have
that is, divides . Assume that
Notice that the above relation is symmetric with respect to and .
Now, suppose that is a solution of the equation such that and so that is minimal among all solutions of (1) for a fixed . Consider the quadratic equation
One of the roots of is ; let the other be . Then (implying that is an integer) and (implying that is positive). Thus, is another pair of positive integers satisfying (1). By our minimality assumption on , we must have . Thus, either or point lies to the left of the two roots of , from which it follows that
that is, we have
Now we consider all the possible values of and . If , (1) becomes , which is impossible for integer because for . Thus the only possible solution in this case is and . For , we can write (1) as
giving only the solution with . For , (3) becomes
which is true only if . Also, by the AM-GM inequality, (1) leads to . If , then or . Therefore, we can conclude that either or and ; it is easy to check that neither case leads to any solutions. Thus, the only minimal solutions are with and with .
Suppose now for the sake of contradiction that for some there existed a solution that was not of the claimed form. Choose such a solution with minimal and so that . Then, write for the root of other than . If , then , meaning that either or ; in the first case, we see that and in the second we see that , which are both in the claimed form, a contradiction. Otherwise, we have , so we find that . For , this implies that , so we may check that , a contradiction. For , we see that ; if , (1) reduces to , which is impossible, and if , (1) gives , so , a contradiction. Therefore, all solutions are of the claimed form.