Skip to main content
OlympiadHQ

Browse · MathNet

Print

IMO Problem Shortlist

number theory

Problem

Find all positive integers such that there exists a sequence of positive integers satisfying for every with .
Solution
Such a sequence exists for and no other . Since the existence of such a sequence for some implies the existence of such a sequence for all smaller , it suffices to prove that is not possible and is possible.

Assume first that for there exists a sequence of positive integers satisfying the conditions Assume is odd, then has to be odd as well and as then has to be even. But this is a contradiction, since then the even number cannot divide the odd number .

Hence is even. If is odd, is even (as a multiple of ) and hence is odd, too. Similarly we must have odd as well. But then is a product of two even numbers and thus is divisible by 4 , which is a contradiction as for odd we have .

Hence is even. Furthermore divides the odd number and so is even. Similarly, and are even as well.

Now set and . From the given condition we get and . We will prove that there is no pair of positive even numbers satisfying these two conditions, thus yielding a contradiction to the assumption.

Assume there exists a pair ( ) of positive even numbers satisfying the two conditions and . Then one has , i.e., , and similarly . Any common divisor of and must hence also divide the number . But as and are both odd, we must have . Thus and are relatively prime and therefore there exists a positive integer such that has the solution . We will show that the latter equation has no solution in positive even numbers.

Assume there is a solution. Pick the solution with the smallest sum and assume . Then is a solution to the quadratic equation Let be the second solution, which by Vieta's theorem fulfills and . If , the second equation implies , which is impossible, as cannot divide the relatively prime number . Therefore .

Also we get which is odd, and hence must be even and positive. Also we have . But this means that the pair ( ) with and is another solution of in even positive numbers with , a contradiction.

Therefore we must have . When , a possible example of a sequence is and .

---

Alternative solution.

It is easy to check that for the sequence and is possible.

Now assume there is a sequence with . Then we have in particular Also assume without loss of generality that among all such quintuples we have chosen one with minimal .

One shows quickly the following fact: Indeed, the first part is obvious and from we conclude and similarly in the other case.

Now, if was odd, then would imply that one of or is even, this contradicts (1). Thus and hence also and are even. According to (1), one has or but due to the minimality of the first series of inequalities must hold.

Consider the identity Any common divisor of the two odd numbers and must also divide ( )( , so these numbers are relatively prime. Hence the last identity shows that must be a multiple of , i.e. there is an integer such that Now set . This is an integer and we have Thus . If , then by (1) we would have and then the quintuple ( ) would contradict the minimality of .

Hence , implying . But also , which finally contradicts the fact that is relatively prime to and thus cannot be a divisior of this number.

Hence is not possible.
Final answer
n = 1, 2, 3, 4

Techniques

Greatest common divisors (gcd)Factorization techniquesModular ArithmeticVieta's formulasTechniques: modulo, size analysis, order analysis, inequalities