Skip to main content
OlympiadHQ

Browse · MathNet

Print

International Mathematical Olympiad

counting and probability

Problem

For a positive integer , an -sequence is a sequence of non-negative integers satisfying the following condition: if and are non-negative integers with , then and . Let be the number of -sequences. Prove that there exist positive real numbers and such that for all positive integers .
Solution
In order to solve this, we will give a complete classification of -sequences. Let . We will say that an -sequence is large if for some , and small if no such exists. For now we will assume that is not the identity sequence (in other words, that for some ).

Lemma 1. If and , then . Proof. We have .

Lemma 2. If , then . Proof. We have , so whence .

Lemma 3. There exist such that and . Proof. If then . Otherwise, for all , so take such that (which we can do by our earlier assumption).

Lemma 4. Let be the smallest index such that for some , and let be the minimum positive integer such that . Then 1. The subsequence is periodic with minimal period . That is, for , we have if and only if and . 2. for and for . In this case we say has period and offset . Proof. We prove each in turn: 1. The "if" implication is clear from Lemma 1. For the reverse direction, suppose . Then there are integers such that , so . If then , contradicting the minimality of . There is a similar contradiction when . Thus , so . 2. If there is nothing to prove. Otherwise so . Then we have for all , so for .

Lemma 5. Either 1. for all , or 2. and for all . Proof. Note that Lemma 4 tells us that if then . Since for all , we have . For , this means that . If then that means that for all . Otherwise, if , then and thus for all . In addition, part 2 of Lemma 4 says that we must have in this case.

Lemma 6. If is even and , then is small. (Note that we must have in this case.) Proof. Note that if , then by Lemma 2, is a period for the sequence consisting of elements at most , so must be small. Now suppose . We show that for all by induction. Note that Lemma 2 already establishes this for . We must have and so . Thus, for , if for , then , so .

Lemma 7. If is small, then . Proof. Since is small, there exists such that and . Thus and , so .

Lemma 8. If is large, then and for all . Proof. Since is large and has period and offset , the period must have an element that is larger than , so by Lemma 2 we must have . We already have for . Now we show that for . By Lemma 6 we have but . Since , this means that for . Finally, one can show inductively that for . Indeed, if for all , then (otherwise for some , but then and means that .) However, , so .

Thus large sequences are determined by and . It is not hard to check that all sequences of the form for and with period and offset are -sequences. There are possible choices of where , and .

For small sequences, for a given period and offset , we need to choose the period satisfying and for . There are such choices, where we define to be with and .

Furthermore, if is even then there are choices for the period satisfying for . Again it is not hard to check that, once these choices are made, then the resulting sequence is an -sequence.

Thus the total number of -sequences is

Now, to show that for some , we note that

To show that for some , it actually suffices to show that there is a positive real number such that for all positive integers , In fact, the following lemma suffices, as it bounds the left hand side of the above inequality by a pair of geometric series with initial term :

Lemma. For positive , we have:

Proof. There are a few key observations needed, all of which are immediate from the definition: - is the maximum product of a sequence of integers that sums to . - For any positive integer , we have . - If , then . Likewise, if then .

With these observations, if , then To calculate , note that so Thus which completes the proof of the first claim. Likewise, if , Again we have so Thus from which the second claim follows.

Techniques

Functional equationsRecursion, bijectionQM-AM-GM-HM / Power Mean