Browse · MathNet
PrintInternational Mathematical Olympiad
counting and probability
Problem
Lucy starts by writing integer-valued 2022-tuples on a blackboard. After doing that, she can take any two (not necessarily distinct) tuples and that she has already written, and apply one of the following operations to obtain a new tuple: and then write this tuple on the blackboard. It turns out that, in this way, Lucy can write any integer-valued 2022-tuple on the blackboard after finitely many steps. What is the smallest possible number of tuples that she initially wrote?
Solution
We solve the problem for -tuples for any : we will show that the answer is , regardless of the value of .
First, let us briefly introduce some notation. For an -tuple , we will write for its -th coordinate (where ). For a positive integer and a tuple we will denote by the tuple obtained by applying addition on with itself times. Furthermore, we denote by the tuple which has -th coordinate equal to one and all the other coordinates equal to zero. We say that a tuple is positive if all its coordinates are positive, and negative if all its coordinates are negative.
We will show that three tuples suffice, and then that two tuples do not suffice.
Three tuples suffice. Write for the constant-valued tuple . We note that it is enough for Lucy to be able to make the tuples ; from those any other tuple can be made as follows. First we choose some positive integer such that for all . Then, by adding a positive number of copies of , she can make which we claim is equal to . Indeed, this can be checked by comparing coordinates: the -th coordinate of the right-hand side is as needed.
Lucy can take her three starting tuples to be and , such that and (as above).
For any , write for the tuple , which Lucy can make by adding together and repeatedly. This has -th term This is 1 if , and at most -1 otherwise. Hence Lucy can produce the tuple as .
She can then produce the constant tuple as , and for any she can then produce the tuple as . Since she can now produce and already had , she can (as we argued earlier) produce any integer-valued tuple.
Two tuples do not suffice. We start with an observation: Let be a non-negative real number and suppose that two tuples and satisfy and for some . Then we claim that the same inequality holds for and : Indeed, the property for the sum is verified by an easy computation: For the second operation, we denote by the tuple . Then and . Since or , the observation follows.
As a consequence of this observation we have that if all starting tuples satisfy such an inequality, then all generated tuples will also satisfy it, and so we would not be able to obtain every integer-valued tuple.
Let us now prove that Lucy needs at least three starting tuples. For contradiction, let us suppose that Lucy started with only two tuples and . We are going to distinguish two cases. In the first case, suppose we can find a coordinate such that . Both operations preserve the sign, thus we can not generate any tuple that has negative -th coordinate. Similarly for .
Suppose the opposite, i.e., for every we have either , or . Since we assumed that our tuples have at least three coordinates, by pigeonhole principle there exist two coordinates such that has the same sign as and has the same sign as (because there are only two possible combinations of signs).
Without loss of generality assume that and . Let us denote the positive real number by . If , then both inequalities and are satisfied. On the other hand, if , then both and are satisfied. In either case, we have found the desired inequality satisfied by both starting tuples, a contradiction with the observation above.
First, let us briefly introduce some notation. For an -tuple , we will write for its -th coordinate (where ). For a positive integer and a tuple we will denote by the tuple obtained by applying addition on with itself times. Furthermore, we denote by the tuple which has -th coordinate equal to one and all the other coordinates equal to zero. We say that a tuple is positive if all its coordinates are positive, and negative if all its coordinates are negative.
We will show that three tuples suffice, and then that two tuples do not suffice.
Three tuples suffice. Write for the constant-valued tuple . We note that it is enough for Lucy to be able to make the tuples ; from those any other tuple can be made as follows. First we choose some positive integer such that for all . Then, by adding a positive number of copies of , she can make which we claim is equal to . Indeed, this can be checked by comparing coordinates: the -th coordinate of the right-hand side is as needed.
Lucy can take her three starting tuples to be and , such that and (as above).
For any , write for the tuple , which Lucy can make by adding together and repeatedly. This has -th term This is 1 if , and at most -1 otherwise. Hence Lucy can produce the tuple as .
She can then produce the constant tuple as , and for any she can then produce the tuple as . Since she can now produce and already had , she can (as we argued earlier) produce any integer-valued tuple.
Two tuples do not suffice. We start with an observation: Let be a non-negative real number and suppose that two tuples and satisfy and for some . Then we claim that the same inequality holds for and : Indeed, the property for the sum is verified by an easy computation: For the second operation, we denote by the tuple . Then and . Since or , the observation follows.
As a consequence of this observation we have that if all starting tuples satisfy such an inequality, then all generated tuples will also satisfy it, and so we would not be able to obtain every integer-valued tuple.
Let us now prove that Lucy needs at least three starting tuples. For contradiction, let us suppose that Lucy started with only two tuples and . We are going to distinguish two cases. In the first case, suppose we can find a coordinate such that . Both operations preserve the sign, thus we can not generate any tuple that has negative -th coordinate. Similarly for .
Suppose the opposite, i.e., for every we have either , or . Since we assumed that our tuples have at least three coordinates, by pigeonhole principle there exist two coordinates such that has the same sign as and has the same sign as (because there are only two possible combinations of signs).
Without loss of generality assume that and . Let us denote the positive real number by . If , then both inequalities and are satisfied. On the other hand, if , then both and are satisfied. In either case, we have found the desired inequality satisfied by both starting tuples, a contradiction with the observation above.
Final answer
3
Techniques
Invariants / monovariantsPigeonhole principleVectors