0

Can somebody provide me with an example for a sequence which has as limits points the set $Z$.

Because $Z$ is a closed set than it can be the set of all the limits points.

1 Answers1

0

Basically if $\varphi$ is any bijection between $\mathbb N^2$ and $\mathbb N$ then calling $\varphi^{-1}(n)=(n_1,n_2)$

We get that $x_n=n_1+\dfrac 1{n_2}$ will have all natural numbers as accumulations points.

It is not too hard to adapt it to negative numbers (split for instance odd/even $\mapsto$ negative/positive).

For instance $\varphi^{-1}(n)=\bigg(\min(n-\lfloor\sqrt{n}\rfloor^2,\lfloor\sqrt{n}\rfloor)\quad,\quad2\lfloor\sqrt{n}\rfloor-\max(n-\lfloor\sqrt{n}\rfloor^2,\lfloor\sqrt{n}\rfloor)\bigg)$

--> see this post How to show that $\max(a,b)^2+\max(a,b)+a-b$ is bijective?

But there are others like Cantor-pairing function and such, it just happens I had this one above at hand...

zwim
  • 28,563