Construct a sequence which has infinitely many limit points
My attempt: \begin{equation} (a_n)_n = (1,1,2,1,2,3,1,2,3,4,1,2,3,4,5\dots) \end{equation} How do I write a proper formula for my sequence?
Construct a sequence which has infinitely many limit points
My attempt: \begin{equation} (a_n)_n = (1,1,2,1,2,3,1,2,3,4,1,2,3,4,5\dots) \end{equation} How do I write a proper formula for my sequence?
It may not be your exact sequence, but plays the same trick: $a_n=n-\lfloor \sqrt n\rfloor ^2$.
Seems your sequence is this one:
$a_n = 1 + (n-T_m-m)$ where m is the largest integer
such that the triangular number $T_m \le n$
This also works: $$ a_n=\chi_{\mathbb N}(n)+\chi_{2\mathbb N}(n)+ \cdots +\chi_{n\mathbb N}(n)=\sum_{k=1}^{n} \chi_{k\mathbb N}(n) $$ that is equal to the number of divisors of $n$.
Consider the sequence
$$1,1/2,1,1/3,2/3,1,1/4,2/4,3/4,1,\dots $$
Then every real number in $[0,1]$ is a limit point of this sequence.
Consider one of the enumerations of the positive rstionals.
This has all the positive reals as limits.