# A sequence for which the set of limits points is the interval $[0,1]$.

My professor challenge me to give a sequence with limit points from zero to one including 0 and 1?

• $\mathbb{Q}\cap [0,1]$ Feb 21 '15 at 6:28
• $0,1,0,1/2,1,0,1/3,2/3,1,0,1/4,2/4,3/4,1,0,1/5,2/5,3/5,4/5,1,0,1/6,\dots$. Or else we can confine ourselves to denominators $1,2,4,8,16,\dots$. Feb 21 '15 at 6:43
• Feb 21 '15 at 7:57

Try $$a_n=\sin n.$$ Also, you can enumerate $\mathbb Q\cap [0,1]$: $$0,1,\frac{1}{2},\frac{1}{3},\frac{2}{3},\frac{1}{4},\frac{3}{4},\frac{1}{5},\frac{2}{5},\frac{3}{5},\frac{4}{5},\frac{1}{6}\cdots.$$

• sin(n) gives only 360 terms Feb 21 '15 at 15:17
• $\sin n$, with $n$ in radians not degrees! Feb 21 '15 at 18:39

The rationals are dense in the interval [0,1]. So the sequence mapping N into $Q\cap [0,1]$ will give a sequence where if L is the set of limit points, min(L) = 0 and max(L) = 1. Andre's explicit constructions above are nice examples, although we can come up with others. Can you?

If you can find a sequence such that:

• $\limsup a_n=1$ and $\liminf a_n=0$
• $\lim (a_{n+1}-a_n) = 0$

The for this sequence the set of limit points will be the interval $[0,1]$. (See: Set of cluster points of a bounded sequence and If a sequence satisfies $\lim\limits_{n\to\infty}|a_{n+1} - a_n|=0$ then the set of its limit points is connected. But if you come up with an example of such sequence, it will probably be easier to verify what the set of limit points of that particular sequence looks like than to check the proof of the general result valid for all sequences with these properties.)