Determine which integers have the property that there exists an infinite sequence of nonzero integers such that the equality
holds for every positive integer .
Problem 1717
Official solutions — 2
Solution 1
We will show that the sequence exists for all .
For , the sequence cannot exist. If it existed, we would have for all , from which for all by induction. Then would have to be divisible by for all , which is impossible for .
Now fix . We will show that the desired sequence exists. The construction is a repeated application of the Chinese Remainder Theorem, but the details require substantial care.
First we prove two lemmas.
Lemma 1. It is possible to partition the positive integers into subsets so that for every positive integer ,
(i) the numbers and are in the same subset, and
(ii) the numbers are all in strictly earlier subsets than .
*Proof.* Define a function from the positive integers to the positive reals as follows. Let be the set of primes dividing . No element of divides . For any positive integer , write its prime factorization , and then define
Notice that for every , we have
whereas for each , we have
Also notice that for each , , which implies that for any fixed , there can only be finitely many values of with . Therefore, we may arrange the elements of the image of in the increasing order . Now let for each . The sets are a partition of the positive integers, and (4) and (5) ensure that they satisfy (i) and (ii), respectively.
Lemma 2. Let and be relatively prime positive integers and arbitrary integers. Then it is possible to choose nonzero integers such that
*Proof.* We use induction on . If , then since and are relatively prime, we can find such that . Then and satisfy (6). Now suppose we have satisfying (6) for . If we choose any integer and replace each with , then (6) still holds for , and . Since and are relatively prime, we can choose so as to make congruent to modulo , and then we take . Then the numbers satisfy (6) for .
This shows that we can find satisfying (6), but they may not all be nonzero. However, once again, we can make the replacements for any integer , and the new sequence still satisfies (6). By an appropriate choice of , we can ensure each is nonzero.
Now both lemmas are proven, and we resume the main proof. We will construct terms of the sequence inductively, but not in the order .
Suppose is any set of positive integers, and we have chosen nonzero integers for each . Say that there is a *conflict* in if there exists some such that are all in , and
Let be as given by Lemma 1. We will inductively define our sequence as follows:
a. *Step 1:* Choose nonzero values for all simultaneously, without creating a conflict in .
b. *Step :* Given the values of for chosen at previous steps, choose nonzero integers for all simultaneously, without creating a conflict in .
If we can show that each step of this process can indeed be carried out, then it will eventually define for all positive integers , satisfying the required condition
for all (since no conflicts are created).
For Step 1, Lemma 1 implies we can choose arbitrarily for without creating any conflicts, since for all . Now for Step , suppose the have been assigned already for all . We need to assign for without creating any new conflicts. This just requires that the new assignments satisfy (7) for all integers such that and are in . For any other value , either so no conflict can be created, or else Lemma 1 implies so that the corresponding constraint (7) has been dealt with at an earlier step.
Thus for each such that , we have a constraint
where is determined by the assignments made at previous steps. We just need to show that it is possible to choose for all such that all these constraints are satisfied.
Form a directed graph whose vertices are the elements of , with an edge leading from to whenever both numbers are in . Then every component of this graph is either a single vertex or a (directed) path. We wish to show that nonzero integer values can be assigned to elements of so that for each edge, the corresponding constraint (8) is satisfied. It suffices to show this for each component of the graph. If the component is a single vertex, any nonzero value works. Otherwise, it is a path , and Lemma 2 ensures that we can choose nonzero integer values for so as to satisfy (8) for each edge.
This shows that each step of our constructive process can indeed be performed successfully, eventually constructing every term of the sequence.
Solution 2
(By Dai Yang). We claim that such a sequence exists for all except . If we assume that , then
which is impossible since cannot be divisible by arbitrarily large powers of 2. Thus no valid sequence exists for .
For , we begin with the following lemma.
Lemma 3. If there exists a multiplicative function from to such that for all and
then there exists a sequence satisfying the desired conditions.
*Proof.* Assume that satisfies the hypothesis. Let for all . Since is multiplicative, we have for all positive integers that
We now use Lemma 3 to establish the following lemma.
Lemma 4. If there exist primes and satisfying and , then there exists a sequence satisfying the desired conditions.
*Proof.* Let and be given. For a prime , define to be the largest exponent such that . Let for all positive integers , where and are nonzero integers. Clearly is a multiplicative function. We will find suitable values for and so that satisfies the conditions of Lemma 3.
Let the multiples of that are less than or equal to be for some . Since , we have . Note also that the only multiple of that is less than or equal to is itself. Hence, for all satisfying , we have
Therefore, for some constant , we have
Note that , so that . By Bézout's Identity, there exist integers and for which , hence after appropriate scaling, we obtain and so that
Then (9) reduces to
Note that we can also stipulate that and be nonzero. Therefore, satisfies the hypothesis of Lemma 3, so a valid sequence exists.
It now suffices to list for each either a function satisfying Lemma 3 or a pair of primes and satisfying Lemma 4.
* If , let . Note that , as required by Lemma 3.
* If , let .
* If , let and .
* If , let and .
* If , let and .
* If , by Bertrand's Postulate, we can find a prime satisfying , and a prime satisfying . For all , we have , so and satisfy the conditions of Lemma 4.
This exhausts all values of , so we are done.