There are natural numbers written on the board. Every move, we could erase and change it to and . Prove that in finite number of moves, all numbers in the board could be made to be equal.
Solution
We need to prove that in a finite number of moves, all numbers on the board can be made equal using the given operations. Let's break down the solution step by step.
1. Base Case:
If , then there is only one number on the board, and it is trivially equal to itself. Therefore, the statement holds for .
2. General Case:
Assume . We will consider two main cases based on the greatest common divisor (gcd) of the numbers.
3. **Case 1: :**
- Take any two numbers and such that .
- Perform the operation on to obtain and .
- Since , the new numbers are and .
- Now, we can repeatedly apply the operation on any number and :
- This decreases by 1 in each step until becomes 1. Thus, all numbers can be reduced to 1.
4. **Case 2: for all pairs :**
- Assume there is no pair such that .
- If there exists a number such that (i.e., ), we can apply the operation on and then on to eventually get 1 on the board. This reduces to Case 1.
- If no such exists, then for all . Let .
- Take any two numbers and such that . Perform the operation on to obtain and .
- Now, take any number and note that:
- This decreases by in each step until becomes . Repeating this process for all numbers, we can make all numbers equal to .
Thus, in both cases, we can make all numbers on the board equal in a finite number of moves.