1. Initial Setup: We start with the sequence of numbers on the blackboard:
−10081008,−10081007,…,−10081,0,10081,10082,…,10081007,10081008
This sequence contains 2017 numbers.
2. Operation Description: The operation involves erasing two numbers x and y and writing the number x+7xy+y on the blackboard.
3. Invariant Identification: We need to identify an invariant, a quantity that remains unchanged after each operation. Let's consider the sum of the reciprocals of the numbers on the blackboard.
4. Invariant Calculation: Initially, the sum of the numbers is:
S=−10081008+−10081007+⋯+−10081+0+10081+10082+⋯+10081007+10081008
Notice that the sequence is symmetric around 0, so the sum S is:
S=0
5. Operation Analysis: When we perform the operation x and y to get x+7xy+y, we need to check if the sum remains invariant:
x+y→x+7xy+y
The sum of the numbers before the operation is x+y. After the operation, the new number is x+7xy+y. The sum of the numbers after the operation is:
x+7xy+y
Since 7xy is not zero in general, the sum of the numbers is not invariant. However, we need to check if there is a specific number that remains invariant.
6. Special Number Identification: Let's consider the number −71. If we erase −71 and another number y, the new number is:
−71+7(−71)y+y=−71−y+y=−71
This shows that −71 remains invariant under the operation.
7. Conclusion: Since −71 remains invariant and is present in the initial sequence (as −1008144=−71), it will be the last number remaining after 2016 steps.
The final answer is −71.