Problem:
On a blackboard are written some integers, between 1 and 7. It is possible that not all the numbers from 1 to 7 are present, and it is also possible that one, some, or all the numbers are repeated, one or more times.
A move consists of choosing one or more numbers present on the blackboard, provided they are all different, erasing them, and writing in their place the numbers which, together with the erased ones, form the whole set .
For example, allowed moves are:
- erasing a 4 and a 5, and writing in their place the numbers 1, 2, 3, 6 and 7;
- erasing a 1, a 2, a 3, a 4, a 5, a 6 and a 7 without writing anything in their place.
Prove that, if it is possible to find a sequence of moves that, starting from the initial situation, leads to having on the blackboard a single number (written only once), then this number does not depend on the sequence of moves used.