Let it be that $a_{n}$ is the remaining number if we are dealing with the numbers $1,2,3,4,5\dots,n$.
If $n$ is sufficiently large then after erasing $1$ and leaving $2$ we have the numbers $3,4\dots,n,2$ ahead of us.
Comparing this with the situation in which we have the numbers $1,2,3,\dots,n-2,n-1$ ahead of us we conclude that $a_{n}=a_{n-1}+2$ if $a_{n-1}
Looking at sequence $\left(a_{n}\right)$ the following conjecture arises:
$$a_{n}=2n-2^{\lceil\log_{2}n\rceil}$$
This conjecture can be proved with induction and we conclude: $$a_{2016}=4032-2^{11}=1984$$