Browse · MathNet
PrintIMO2024 Shortlisted Problems
2024 algebra
Problem
Let be an infinite strictly increasing sequence of positive integers such that for each we have Let be an infinite sequence of letters defined as Prove that there exist positive integers and such that for all we have .
Solution
Solution 1. We will show that the eventual period of sequence consists of any fixed number of occurrences of (possibly zero) followed by a single . We look at the ratios of consecutive terms of the sequence . Let and be coprime positive integers such that . If then . If and for some positive integer then Thus, by induction, there is a sequence of positive integers for which satisfies for all positive integers . Moreover, we have and If there are only finitely many values of such that then the problem statement obviously holds (we can choose ). Thus, we may assume that for infinitely many . This means that the sequence ( ) attains all positive integer values. Given a value , denote by the last index where value occurs, that is, the index such that and . Our aim is to prove that the sequence of differences is eventually constant. We first show that it is bounded above. To that end, fix (we will choose a suitably large later on) and consider a sequence defined for by . We note two properties of . First, simple algebra gives It follows that Second, suppose that for some positive integer . We claim that in that case is a positive integer. Indeed, we have because . Since and are coprime we have that is an integer. We choose such that (which exists since ). Then, by induction we can show that for all . Indeed, since , it is not a positive integer; this means that by the second property above. Hence by the first property above we have , as needed. This means that for all . Thus there is a largest integer with the property that an equality holds for infinitely many values of . Therefore, for all sufficiently large values of we have the inequality , which by the first property implies that the sequence is decreasing from some point on. Moreover, we know that the sequence attains infinitely many integer values since there are infinitely many values of for which we have the equality . As a consequence, the sequence is constant from some sufficiently large index onwards. This in turn means that the equality holds for all . Note that is equivalent to the fact that for some integer . Thus, the sequence ( ) is periodic for with period , and the proof is complete.
Solution 2. First, observe that the statement holds immediately if for all ; otherwise, there must be some for which . Without loss of generality, we may assume that , as we can translate the sequence without affecting the statement. We define an arithmetic sequence by taking and . Note that , and hence that is an increasing sequence of positive integers, and also that . We also define a sequence of positive integers and a sequence of positive rational numbers . Then the following facts are immediate consequences of the definitions: - if , then and ; - if , then ; - ; - if and , then . Now, let be the number of integers for which and . If some is infinite then is eventually always ; otherwise, all values of are nonnegative integers. The sequence of values for can be written as and in particular all terms in this sequence are positive integers. Furthermore, and are coprime for all , so the following sequence consists entirely of positive integers: We will prove that is eventually constant, which implies that the sequence of is eventually periodic with period consisting of copies of followed by an (where is that constant value). Observe that either is unbounded, or is bounded with eventual maximum for some constant . In the second case, let be minimal such that ; in the first case let . We will construct an infinite sequence of integers as follows: - If , then - If , then is the minimal positive integer greater than such that . Observe that in the second case, such an must exist by our construction of . We claim that with equality only if (so ). Indeed, if then with equality if and only if . Otherwise, we have so we just need to show that the right hand side is strictly less than 1 . But this follows because where each inequality besides the last follows from the fact that and for , and the last follows from the fact that . Finally, the sequence is an infinite nonincreasing sequence of positive integers so must eventually be constant, yielding the claim.
Solution 2. First, observe that the statement holds immediately if for all ; otherwise, there must be some for which . Without loss of generality, we may assume that , as we can translate the sequence without affecting the statement. We define an arithmetic sequence by taking and . Note that , and hence that is an increasing sequence of positive integers, and also that . We also define a sequence of positive integers and a sequence of positive rational numbers . Then the following facts are immediate consequences of the definitions: - if , then and ; - if , then ; - ; - if and , then . Now, let be the number of integers for which and . If some is infinite then is eventually always ; otherwise, all values of are nonnegative integers. The sequence of values for can be written as and in particular all terms in this sequence are positive integers. Furthermore, and are coprime for all , so the following sequence consists entirely of positive integers: We will prove that is eventually constant, which implies that the sequence of is eventually periodic with period consisting of copies of followed by an (where is that constant value). Observe that either is unbounded, or is bounded with eventual maximum for some constant . In the second case, let be minimal such that ; in the first case let . We will construct an infinite sequence of integers as follows: - If , then - If , then is the minimal positive integer greater than such that . Observe that in the second case, such an must exist by our construction of . We claim that with equality only if (so ). Indeed, if then with equality if and only if . Otherwise, we have so we just need to show that the right hand side is strictly less than 1 . But this follows because where each inequality besides the last follows from the fact that and for , and the last follows from the fact that . Finally, the sequence is an infinite nonincreasing sequence of positive integers so must eventually be constant, yielding the claim.
Techniques
Recurrence relationsGreatest common divisors (gcd)Invariants / monovariants