I am studying the behaviour of the recursive function defined by
$x_{n+1}=x_n-\frac{1}{x_n}$, $x_0=2$
To get a better understanding of it, I would like to be able to see the "transition" between plots for different values of $x_0$, while I can move $x_0$ freely between some values. My initial idea on how to achieve this, is to use the following code:
Manipulate[ListPlot[RecurrenceTable[
{a[n + 1] == a[n] - 1/a[n], a[0] == t}, a, {n, 1000}]], {t, -3, 3}]
However, this code just makes Mathematica freeze a bit and then display $Aborted
in the manipulate window, not doing what I want it to do. Why does this not work? How could I approach this problem using different code?
I am using Mathematica 11.0.