Skip to main content
OlympiadHQ

Browse · MathNet

Print

51st IMO Shortlisted Problems

counting and probability

Problem

Let be arithmetic progressions of integers, the following conditions being satisfied: (i) each integer belongs to at least one of them; (ii) each progression contains a number which does not belong to other progressions. Denote by the least common multiple of steps of these progressions; let be its prime factorization. Prove that
Solution
First, we prove the key lemma, and then we show how to apply it to finish the solution. Let be positive integers. By an grid we mean the set ; the elements of will be referred to as points. In this grid, we define a subgrid as a subset of the form where is an arbitrary nonempty set of indices, and are fixed integer numbers. Further, we say that a subgrid (1) is orthogonal to the th coordinate axis if , and that it is parallel to the th coordinate axis otherwise.

Lemma. Assume that the grid is covered by subgrids (this means ) so that (ii') each subgrid contains a point which is not covered by other subgrids; (iii) for each coordinate axis, there exists a subgrid orthogonal to this axis. Then Proof. Assume to the contrary that . Our aim is to find a point that is not covered by . The idea of the proof is the following. Imagine that we expand each subgrid to some maximal subgrid so that for the th axis, there will be at most maximal subgrids orthogonal to this axis. Then the desired point can be found easily: its th coordinate should be that not covered by the maximal subgrids orthogonal to the th axis. Surely, the conditions for existence of such expansion are provided by Hall's lemma on matchings. So, we will follow this direction, although we will apply Hall's lemma to some subgraph instead of the whole graph. Construct a bipartite graph as follows. Let , and let be some set of elements. Further, let the edge appear iff is orthogonal to the th axis. For each subset , denote Notice that by (iii). Now, consider the set containing the maximal number of elements such that ; if there is no such set then we set . Denote . By our assumption and the Lemma condition, , hence and . Permuting the coordinates, we can assume that . Consider the induced subgraph of on the vertices . We claim that for every , we get (so satisfies the conditions of Hall's lemma). Actually, we have , so if for some , then we have This contradicts the maximality of . Thus, applying Hall's lemma, we can assign to each some vertex so that to distinct elements of , distinct vertices of are assigned. In this situation, we say that corresponds to the th axis, and write . Since there are vertices of the form , we get that for each , not more than subgrids correspond to the th axis. Finally, we are ready to present the desired point. Since , there exists a point . On the other hand, for every , consider any subgrid with . This means exactly that is orthogonal to the th axis, and hence all its elements have the same th coordinate . Since there are at most such subgrids, there exists a number which is not contained in a set . Choose such number for every . Now we claim that point is not covered, hence contradicting the Lemma condition. Surely, point cannot lie in some , since all the points in have th coordinate . On the other hand, suppose that for some ; recall that . But the points and differ only at first coordinates, so should be orthogonal to at least one of the first axes, and hence our graph contains some edge for . It contradicts the definition of . The Lemma is proved.

Now we turn to the problem. Let be the step of the progression . Note that since l.c.m. , for each there exists an index such that . We assume that ; otherwise the problem statement is trivial. For each and , let be the residue of modulo , and let be the base representation of (possibly, with some leading zeroes). Now, we put into correspondence to the sequence . Hence lies in a . Surely, if then , which follows for all ; consequently, . So, when runs over the set , the sequences do not repeat; since , this means that is a bijection between and . Now we will show that for each , the set is a subgrid, and that for each axis there exists a subgrid orthogonal to this axis. Obviously, these subgrids cover , and the condition (ii') follows directly from (ii). Hence the Lemma provides exactly the estimate we need. Consider some and let . Consider some and let . Then for an arbitrary , setting we have Hence for all which means that is a subgrid containing . Moreover, in , all the coordinates corresponding to are fixed, so it is orthogonal to all of their axes, as desired.

Comment 1. The estimate in the problem is sharp for every . One of the possible examples is the following one. For each , let and add the progression . One can easily check that this set satisfies all the problem conditions. There also exist other examples. On the other hand, the estimate can be adjusted in the following sense. For every , let be all the numbers of the form in an increasing order (we delete the repeating occurences of a number, and add a number if it does not occur). Then, repeating the arguments from the solution one can obtain that Note that , and the equality is achieved only for . Hence, for reaching the minimal number of the progressions, one should have for all . In other words, for each , there should be an index such that .

---

Alternative solution.

We start with introducing some notation. For positive integer , we denote . Next, we say that a set of progressions cover if each integer belongs to some of them; we say that this covering is minimal if no proper subset of covers . Obviously, each covering contains a minimal subcovering.

Next, for a minimal covering and for every , let be the step of progression , and be some number which is contained in but in none of the other progressions. We assume that , otherwise the problem is trivial. This implies , otherwise the progression covers all the numbers, and .

We will prove a more general statement, namely the following

Claim. Assume that the progressions and number are chosen as in the problem statement. Moreover, choose some nonempty set of indices and some positive integer for every . Consider the set of indices Then Observe that the Claim for and implies the problem statement, since the left-hand side in (2) is not greater than . Hence, it suffices to prove the Claim.

1. First, we prove the Claim assuming that all 's are prime numbers. If for some we have at least progressions with the step , then they do not intersect and hence cover all the integers; it means that there are no other progressions, and ; the Claim is trivial in this case. Now assume that for every , there are not more than progressions with step ; each such progression covers the numbers with a fixed residue modulo , therefore there exists a residue which is not touched by these progressions. By the Chinese Remainder Theorem, there exists a number such that for all ; this number cannot be covered by any progression with step , hence it is not covered at all. A contradiction.

2. Now, we assume that the general Claim is not valid, and hence we consider a counterexample for the Claim; we can choose it to be minimal in the following sense: - the number is minimal possible among all the counterexamples; - the sum is minimal possible among all the counterexamples having the chosen value of . As was mentioned above, not all numbers are primes; hence we can assume that is composite, say and . Consider a progression having the step , and containing . We will focus on two coverings constructed as follows. (i) Surely, the progressions cover , though this covering in not necessarily minimal. So, choose some minimal subcovering in it; surely since is not covered by , so we may assume that for some . Furthermore, the period of the covering can appear to be less than ; so we denote this period by Observe that for each , we have , otherwise would not be covered by . (ii) On the other hand, each nonempty set of the form is also a progression with a step l.c.m. , and such sets cover . Scaling these progressions with the ratio , we obtain the progressions with steps which cover . Now we choose a minimal subcovering of this covering; again we should have by the reasons of . Now, denote the period of by Note that if , then the image of under the scaling can be covered by only; so, in this case we have . Our aim is to find the desired number of progressions in coverings and . First, we have , and the sum of the steps in is less than that in ; hence the Claim is valid for . We apply it to the set of indices and the exponents ; hence the set under consideration is and we obtain that where ; the latter equality holds as for we have . Observe that for all . So, if we find at least indices in , then we would have thus leading to a contradiction with the choice of . We will find those indices among the indices of progressions in .

3. Now denote and consider some ; then . On the other hand, there exists an index such that ; this means that and hence cannot appear in , so . Moreover, we have observed before that in this case , hence . This means that , therefore for each (recall here that and hence ). Let . Then . Now, if , then for every the condition is equivalent to . Note that , hence we can apply the Claim to the covering . We perform this with the set of indices and the exponents . So, the set under consideration is and we obtain . Finally, we claim that ; then we will obtain , which is exactly what we need. To prove this, consider any . Observe first that , hence from l.c.m. we have , which means that . Next, the exponent of in is greater than that in , which means that \notin . This may appear only if or , as desired. This completes the proof.

Techniques

Matchings, Marriage Lemma, Tutte's theoremChinese remainder theoremPigeonhole principleColoring schemes, extremal arguments