Browse · MathNet
Print2022 China Team Selection Test for IMO
China 2022 counting and probability
Problem
Let be positive integers with . Denote Initially, some stones are put at each point of , with total stones. Then one can perform the following three types of operations repeatedly: (1) remove stones on and place a stone on ; (2) remove stones on and place a stone on ; (3) remove stones on and place a stone on . Find the smallest positive integer such that one can always perform a sequence of operations, to place a stone at , no matter how the stones were distributed initially.
Solution
Proof: The smallest positive integer is .
First, if we initially put less than stones at the point , then one cannot perform a sequence of operations to put a stone at . The reason is as follows. For a stone at , define its weight as . The rules of operation ensures that the total weight of all stones stays unchanged. If initially, there are less than stones at , then . Hence at any moment there is no stone at .
Conversely, we will prove an -dimension version of this problem. Let and be positive integers, such that . Consider the same game on an -dimensional lattice We initially put total stones on . For , we call the operation which removes stones at one point and then put one stone at as “operation ”. We will need another type of operation : which removes stones at a point but do not put back any stones. We make a convention that when , is one pointed set containing only the original point.
Let denote the total number of stones on by , and let denote the number of the lattice points where at least one stone is placed. Denote the values of and of the domain as and , respectively; and denote the value of and of domain : as and respectively. In the following proof, an important step is to do as many as possible operation for stones in domain to “transfer” them into domain , until
stones in the domain II can not do anymore operation . At that moment, at each point of domain II which has at least one stone can hold at most stones, thus we can transfer at least stones to domain I. Call these operations as “transfer II to I”.
We are going to inductively prove following three propositions:
Proposition A(n): If , then one can perform a sequence operations to move a stone to the origin 0.
Proposition B(n): Let be a positive integer. If , then one can perform a sequence operations to move stones to the origin 0.
Proposition C(n): Assume that , is a positive integer, and is a nonnegative integer. If , then one can first perform times operation , and after that perform a sequence operations to move stones to origin 0.
We do an induction on . Propositions are obvious. Suppose that are proved. We aim to prove Propositions by an induction on . When , , then for corresponds to for ; this is already known. So we may assume that .
The proof of Proposition A(n).
a.1) If , Using transfer II to I, one may at least transfer stones, after that we have By inductive hypothesis, we may place a stone at 0.
a.2) If , then . Note that . Using , we know that we can move stones from II to , then perform times operation to get one stone at 0.
The proof of Proposition B(n).
b.1) If , we may transfer at least stones from II to I. After that we have The inductive hypothesis implies that we can move stones to 0.
b.2) If , then Bernoulli's inequality implies that
i.e. is nonnegative. Note that , and we have and . Using , we may perform times in , and then move stones to . These stones can be moved to stone at by operation . On the other hand, the stones from the times operation can be used to perform operation to get stones in domain . After that, in we have Use the already proved Proposition A(n), we may get one more stone at 0. Combine these two parts, we obtain u stones at 0.
The proof of Proposition C(n).
c.1) If , we do not need do operation . Note that and . Use the proved Proposition B(n) we can move stones to 0.
c.2) If , we need to do some operation . If some place in domain II has more than q stones, we do an operation at that point, then and ; moreover, it becomes the case . After some operation , we either arrive at the case which is (c.1), or at every point of II, the number of stones is less than or equal to q. It suffices to deal with the latter situation. Assume that II has L points which has exactly q stones. The Bernoulli's inequality gives Since , we can do operation once again at the points which has exactly stones in . After that, Using the inductive hypothesis for domain I, we know that we can do times , and then move stones to 0.
This completes the induction.
First, if we initially put less than stones at the point , then one cannot perform a sequence of operations to put a stone at . The reason is as follows. For a stone at , define its weight as . The rules of operation ensures that the total weight of all stones stays unchanged. If initially, there are less than stones at , then . Hence at any moment there is no stone at .
Conversely, we will prove an -dimension version of this problem. Let and be positive integers, such that . Consider the same game on an -dimensional lattice We initially put total stones on . For , we call the operation which removes stones at one point and then put one stone at as “operation ”. We will need another type of operation : which removes stones at a point but do not put back any stones. We make a convention that when , is one pointed set containing only the original point.
Let denote the total number of stones on by , and let denote the number of the lattice points where at least one stone is placed. Denote the values of and of the domain as and , respectively; and denote the value of and of domain : as and respectively. In the following proof, an important step is to do as many as possible operation for stones in domain to “transfer” them into domain , until
stones in the domain II can not do anymore operation . At that moment, at each point of domain II which has at least one stone can hold at most stones, thus we can transfer at least stones to domain I. Call these operations as “transfer II to I”.
We are going to inductively prove following three propositions:
Proposition A(n): If , then one can perform a sequence operations to move a stone to the origin 0.
Proposition B(n): Let be a positive integer. If , then one can perform a sequence operations to move stones to the origin 0.
Proposition C(n): Assume that , is a positive integer, and is a nonnegative integer. If , then one can first perform times operation , and after that perform a sequence operations to move stones to origin 0.
We do an induction on . Propositions are obvious. Suppose that are proved. We aim to prove Propositions by an induction on . When , , then for corresponds to for ; this is already known. So we may assume that .
The proof of Proposition A(n).
a.1) If , Using transfer II to I, one may at least transfer stones, after that we have By inductive hypothesis, we may place a stone at 0.
a.2) If , then . Note that . Using , we know that we can move stones from II to , then perform times operation to get one stone at 0.
The proof of Proposition B(n).
b.1) If , we may transfer at least stones from II to I. After that we have The inductive hypothesis implies that we can move stones to 0.
b.2) If , then Bernoulli's inequality implies that
i.e. is nonnegative. Note that , and we have and . Using , we may perform times in , and then move stones to . These stones can be moved to stone at by operation . On the other hand, the stones from the times operation can be used to perform operation to get stones in domain . After that, in we have Use the already proved Proposition A(n), we may get one more stone at 0. Combine these two parts, we obtain u stones at 0.
The proof of Proposition C(n).
c.1) If , we do not need do operation . Note that and . Use the proved Proposition B(n) we can move stones to 0.
c.2) If , we need to do some operation . If some place in domain II has more than q stones, we do an operation at that point, then and ; moreover, it becomes the case . After some operation , we either arrive at the case which is (c.1), or at every point of II, the number of stones is less than or equal to q. It suffices to deal with the latter situation. Assume that II has L points which has exactly q stones. The Bernoulli's inequality gives Since , we can do operation once again at the points which has exactly stones in . After that, Using the inductive hypothesis for domain I, we know that we can do times , and then move stones to 0.
This completes the induction.
Final answer
p^a q^b r^c
Techniques
Invariants / monovariantsInduction / smoothingGames / greedy algorithms