For a $a_n$ defined recursively by $a_{n+1} = a_n - \frac{1}{a_n}$,$a_0 = k >0$. Prove that if the first $n$ such that $a_n \leq 0$, then $n \in O(k^2)$.
I ran a computer simulation, and it seems true.
Moreover, these questions appear similar to this question: Closed form for the sequence defined by $a_0=1$ and $a_{n+1} = a_n + a_n^{-1}$ .
However, I have no idea how to prove that. Do you have any ideas?