A sequence of real numbers (xn) is defined recursively as follows: x0=a and x1=b are positive real numbers, and
xn+2=1+xn+1xn for n = 0,1,2... . Find the value of x2012, in terms of a and b .
x_2012 = a + 1/b