We had this problem in exam class yesterday on Combinatoric and it was supposed to be the new year gift from our teacher. The exercise was entitled A Gift Problem for the Year 2018
Problem:
The numbers $1,\frac{1}{2},\frac{1}{3},\frac{1}{4},\cdots,\frac{1}{2018} $ are written on the blackboards. John chooses any two numbers say $x$ and $y$ erases them and writes the number $x+y+xy$. He continues to do so until there is only one number left on the board. What are the possible value of the final number?
I understood the problem as follows for instance if John take $x=1$ and $y=\frac{1}{2}$ then $x+y+xy =2$ and the new list becomes $$2,\frac{1}{3},\frac{1}{4},\cdots,\frac{1}{2018} $$ continuing like this and so on.....
Please bear with me that I do not want to propose my solution since I fell like it was wrong and I don't want to fail the exam before the result get out. but by the way I found, $2017$, $2018$ and $2019$ but I am still suspicious.
You may help is you have an idea.