For any positive integer x, we set
g(x)= largest odd divisor of x,f(x)={2x+g(x)x22x+1 if x is even; if x is odd.Consider the sequence (xn)n∈N defined by x1=1, xn+1=f(xn). Show that the integer 2018 appears in this sequence, determine the least integer n such that xn=2018, and determine whether n is unique or not.