Rearranging the given equation: x_(n-1) = 1 / (1 + 1/x_n )
So, x_(n-2) = 1 / (1 + 1/x_(n-1) )
= 1 / (1 + 1 + 1/x_n)
= 1 / (2+1/x_n)
Similarly, x_(n-3) = 1 / (3 + 1/x_n)
and the pattern becomes clear: x_(n-j) = 1 / (j + 1/x_n)
Putting j=2015: x_0 = 1 / (2015 + 1/ x_2015)
= 1/ (2015 + 1/2015)
= 2015 / (2015^2 + 1)
Nice prob, KS!