Browse · MathNet
PrintSelected Problems from Open Contests
Estonia counting and probability
Problem
The numbers , , and are written in the vertices of a triangle. One step involves increasing two of the three numbers by or decreasing one of the three numbers by . Is it possible that after some steps there are numbers , , and (in an arbitrary order) written in the vertices if
a) , ; b) , ?
a) , ; b) , ?
Solution
a) Both the step that involves increasing two of the numbers by and the step that involves decreasing one of the numbers by result in the sum of all three numbers being changed by . Thus the remainder when the sum of the three numbers is divided by will always be the same regardless of the number of steps taken. But as the sums and give different remainders when divided by , it is impossible to reach the required end situation from the given initial situation.
b) First increase the second and the third numbers three times by ; we end up with , , in the vertices. Now increase the first and the second numbers by and also increase the first and the third numbers by ; so we end up with , and written in the three vertices, respectively. Finally decrease the first number once by and the other two three times by , achieving the situation in question.
---
Alternative solution.
a) Consider one of the numbers. The remainder when this number is divided by is the same regardless of the number of steps taken. Therefore, if we want to achieve the situation where , , are located in the three vertices, the numbers and should stay in the same vertices where they were at the beginning and has to be in the vertex where was. Notice that two increasings are exactly cancelled out by one decreasing. Thus, the vertices where the numbers remain the same should have undergone an even number of increasings and the vertex where is replaced by should have been exposed to an odd number of increasings. Hence there should have been an odd number of increasings in total which is impossible since each increasing step influences the numbers in two vertices.
b) As in Solution 1.
b) First increase the second and the third numbers three times by ; we end up with , , in the vertices. Now increase the first and the second numbers by and also increase the first and the third numbers by ; so we end up with , and written in the three vertices, respectively. Finally decrease the first number once by and the other two three times by , achieving the situation in question.
---
Alternative solution.
a) Consider one of the numbers. The remainder when this number is divided by is the same regardless of the number of steps taken. Therefore, if we want to achieve the situation where , , are located in the three vertices, the numbers and should stay in the same vertices where they were at the beginning and has to be in the vertex where was. Notice that two increasings are exactly cancelled out by one decreasing. Thus, the vertices where the numbers remain the same should have undergone an even number of increasings and the vertex where is replaced by should have been exposed to an odd number of increasings. Hence there should have been an odd number of increasings in total which is impossible since each increasing step influences the numbers in two vertices.
b) As in Solution 1.
Final answer
a) No; b) Yes
Techniques
Invariants / monovariants