# I want an example of a sequence that satisfies $\mid x(n) - x(n-1)\mid \to 0$ but not Cauchy [duplicate]

I want an example of a sequence that satisfies $\mid x(n) - x(n-1)\mid \to 0$ but not Cauchy ? I tried to find such sequence $x(n)=1/2,1/3,1/2,1/3,1/4,1/2,1/3,1/4,1/5,,,,$ it's not Cauchy since it is not converges (has infinitely limit points) and the difference between any successive terms goes to zero .. I asked my doctor but he said the difference is constant (not zero)since the sub-sequences here are constants So can any one gives me a hint for this problem :)? thanks in advance ^^

Try $$x_n =\sum_{k=1}^n \frac{1}{k}.$$
A slightly different example would be $x_n =\ln n$.
Another example is $$x_n = \sin \sqrt n \, .$$ As in Prove the divergence of the sequence $\left\{ \sin(n) \right\}_{n=1}^{\infty}$., the set of limit points is the entire interval $[-1, 1]$, and using the mean value theorem it is easy to see that $$| x_{n} - x_{n-1} | \le \frac {1}{2 \sqrt {n-1}} \to 0 \, .$$
$1, 1/2,0,1/3,2/3,1,3/4,2/4,1/4, 0, \dots.$