Browse · MathNet
PrintThe Problems of Ukrainian Authors
Ukraine counting and probability
Problem
Numbers from to are arbitrarily written down in strip cells. Two players by turns mark cells of this strip. That player after whose move there are such two natural numbers loses that the sum of numbers of all noted cells from to divides by . Prove that there is at least one thousand initial orders of numbers in cells, such that for any non-negative integer : the sum of numbers of cells with numbers does not divide by at which the first player has a winning strategy.
Solution
Let in a cell with number number is written down. We will consider such sequence : , , , . We will prove that such placing approaches us. Let . Then , , , . And as , from equality follows that . Therefore the sequence satisfies the condition that for any non-negative integer numbers and such that , the sum of numbers of cells does not divide by .
Now we will describe a winning strategy for the first player. The first move he marks a cell with number . Further, if the second player moves in the cell with number , the first player moves into the cell with number . As the sum of numbers with numbers and is equal to for all , it is easy to see that the described strategy for the first player is winning.
We will show how from this sequence to receive more other sequences which also satisfy the statement of the problem. Let . We put , . Then the sequence obviously satisfies the condition that , the sum of numbers of cells does not divide by . On the other hand, the strategy of the first player does not change. It is obvious that for different , we receive different sequences . Therefore, we receive sequences.
Now we will describe a winning strategy for the first player. The first move he marks a cell with number . Further, if the second player moves in the cell with number , the first player moves into the cell with number . As the sum of numbers with numbers and is equal to for all , it is easy to see that the described strategy for the first player is winning.
We will show how from this sequence to receive more other sequences which also satisfy the statement of the problem. Let . We put , . Then the sequence obviously satisfies the condition that , the sum of numbers of cells does not divide by . On the other hand, the strategy of the first player does not change. It is obvious that for different , we receive different sequences . Therefore, we receive sequences.
Techniques
Games / greedy algorithmsφ (Euler's totient)Inverses mod n