Define the sequence by and
for . Prove that there are infinitely many such that
(This problem was suggested by Gabriel Carroll.)
Problem 1974
Official solution
Our solution will be based upon the following key observation, for which we provide two different proofs.
Lemma 1. Let be a prime. If divides , then divides , where .
*First proof of Lemma 1.* We argue by induction on and then . First, the base case is vacuous. Now assume the claim holds for some , and suppose that there existed some smallest such that divides but does not divide . Consider the auxiliary sequence defined by . By the given, the sequence satisfies
Applying (1), we see that
so we may write
Notice that , so by the inductive hypothesis, we see that . Further, for any dividing but not , we have that , hence because and was chosen to be the smallest multiple of for which . Therefore, (2) shows that , a contradiction. This completes the induction, showing that if , then .
*Second proof of Lemma 1.* Let us interpret the sequence combinatorially as follows. Call a finite increasing sequence of integers good if and for each . Let be the number of good sequences whose last term is at most . Then, we claim that .
Indeed, for any , good sequences with second term and last term at most are in bijection with good sequences with last term at most ; here, the bijection is provided by dividing each term after the first by . Counting also the sequence consisting of the single term 1, we obtain the recurrence
Observe further that , meaning that the sequence satisfies the same recurrence and initial conditions as . Therefore, we obtain .
Now, note that is the number of good sequences whose last term is exactly . It suffices therefore to show that if is the highest power of dividing , then the number of good sequences ending in is divisible by . Let the -skeleton of a good sequence be the sub-sequence consisting of all the terms such that is not a power of (including the initial 1). It suffices for us to show that the number of good sequences ending in with a given -skeleton is divisible by .
Take any -skeleton, which we may write in the form
for some and satisfying , , , , and . Now, to form a good sequence ending in that has this -skeleton, between any two consecutive terms of the -skeleton we can insert any subset of the set
Also, if the last term is not equal to , we can insert any subset containing of
after it. Hence, for each , there is exactly one number of the form with that we can choose to include or not in our good sequence. For , we can choose to include the number if is not in the skeleton; otherwise including it is obligatory. So the number of good sequences ending in that have the given -skeleton is either or , depending whether or not is part of the skeleton; in any case, it is divisible by . It follows that the total number of good sequences ending in is divisible by , establishing the lemma.
We now consider the problem proper. For any positive integer , choose distinct primes . By the Chinese Remainder Theorem, there exists some such that is divisible by for . By Lemma 1, this implies that is divisible by for , meaning that are all congruent modulo . For any , if we take , there exist positive integers and such that . In particular, this satisfies . Therefore, for any positive integer , the set of such that is unbounded, hence infinite. Taking gives the desired result.