I want to know the example of a sequence $x_n$ such that there is no convergent subsequence but $|x_n|$ converges.
My attempt:I think there will be no such sequence as if $\lim(|x_n|)$ is not $\infty$ then that would mean that $|x_k|<M $ for $k \ge N$ .Hence the sequence $x_n$ will be bounded so by bolzano weistrass it will have a convergent subsequence.