Solution:
The recursion simplifies to xnxn−1+xn−2xn−3=2xn−1xn−2. So if we set yn=xnxn−1 for n≥2 then we have yn−yn−1=yn−1−yn−2 for n≥3, which means that {yn} is an arithmetic sequence. From the starting values we have y2=1, y3=23, so yn=2n for all n. (This means that xn=n!2n−1.) Since xnx1=y2y3⋯yn, it suffices to find the minimal n such that the RHS is at least 106. Note that
y2y3⋯y12=1⋅(1.5⋅2⋅2.5⋅3⋅3.5)⋅(4⋅4.5⋅5⋅5.5⋅6)<2.55⋅55=12.55<2002⋅12.5=500000<106,
while
y2y3⋯y13=1⋅(1.5⋅2⋅2.5⋅3)⋅(3.5⋅4⋅4.5)⋅(5⋅5.5⋅6⋅6.5)>20⋅60⋅900=1080000>106
so the answer is 13.