Browse · MathNet
PrintIMO2024 Shortlisted Problems
2024 algebra
Problem
Let be the set of all positive integers. Determine all subsets of for which there exists a function such that
Solution
Solution 1. Clearly must be nonempty. We start with constructions when . - If , then take for any integer . - If where , then take , where is not an integer. This works because for all and , and takes both values; the lower bound on ensures the values of are positive.
Observe that, inductively,
Lemma 1. For any positive integers and ,
Proof. We work by induction on ; in the case , the first multiset is empty, which provides our base case. For the induction step, suppose and we know that By definition, , and using the first observation we see that . From the induction hypothesis, we may write for some . Thus So . Thus or , and in either case we have our result.
Lemma 2. The sequence takes at most two different values.
Proof. Suppose for a contradiction that is the least index with , and that some has . By Lemma 1, any block of consecutive values of the sequence has at least values equal to . This forces and But then the block has length and does not contain , a contradiction.
Finally, for any and we have for some . So .
Solution 2. Subsets of size 1 or 2 can be achieved as in Solution 1, and must be nonempty. We consider such a set with and a corresponding function in order to achieve a contradiction. We will relate the to values of with , leading to a proof of Lemma 2 from Solution 1 that does not depend on Lemma 1 from that solution.
Suppose . We have and also , so Similarly, and , so Thus either or For , we consider these possibilities as ranges over all pairs with . If the first case holds for every such pair (that is, if for all ), then all the for are equal (and the above equations do not constrain whether or not the value is the same as any with . Otherwise, the values of with are fully determined by the values of for which , and are not all equal.
Specifically, if and with , we have and . Every other value of with is then determined by the rule that if : if we have , and , but for all , then if we have , then if we have , and so on until (yielding a contradiction if ; such a contradiction also arises trivially if and ). If is the least integer such that , the values of with are similarly determined to be equal to (and likewise for ).
If , that means that takes at least three different values. Let be such that does not equal any for , and there are exactly two different values of for (and thus ). Because does not equal any for , we have that all for are equal, and for all . We now consider the values of for determined by the above rules. Since , we have and . If there were any other , consider the one with minimal ; because , we arrive at a contradiction. So every for except for . But these equalities form a path connecting all for : which contradicts the assumption we made that there were exactly two different values of for .
Solution 3. Constructions for are shown in Solution 1, and must be nonempty. We suppose to derive a contradiction.
Claim 1. , and can take at most two different values.
Proof. By expanding in three different ways, we get The result follows from the equality of the three multisets of exponents.
For Claims 2 to 4, we fix and let be the smallest integer such that for some .
Claim 2. For any with , we must have .
Proof. Suppose that and . Expanding in two different ways, we see that By the minimality of , we must have . The case of follows by replacing and with and .
Claim 3. for any a satisfying .
Proof. By Claim 2, . Then by Claim 1, , and can take at most two different values. But by the minimality of , we must have .
Claim 4. for any a satisfying .
Proof. By Claim 2, . Expanding in two different ways, we see that Therefore , as required.
If , then there exist where and are the minimal values corresponding to and . But Claims 3 and 4 imply that is constant for all , which is a contradiction.
Final answer
All and only the nonempty subsets of {2^0, 2^1, 2^2, …} with at most two elements. Equivalently, S = {2^k} or S = {2^k, 2^ℓ} for some integers k, ℓ ≥ 0 with k ≠ ℓ.
Techniques
Existential quantifiers