Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A friend of mine challenged me to find a sequence such that the set of its limit points is exactly $\mathbb N$.

He has not found any, and neither have I.

Do you have any idea?

share|cite|improve this question
up vote 2 down vote accepted

$1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 3, 4, 5 \ldots$ I suppose you get the idea

share|cite|improve this answer
you ommitted $0$ but that's fine. +1 – LeGrandDODOM May 10 '14 at 11:58
I did this on purpose, to me $0$ is not natural, but that's just a question of one's personal taste ;) – mm-aops May 10 '14 at 11:59
Formalizing: $$a_n=n+1-\frac{k(k+1)}{2},$$with $$k=\lfloor\frac{\sqrt{8n+1}-1}{2}\rfloor.$$ – enzotib May 10 '14 at 12:26
How did $\sqrt{8n+1}$ appear? – Berci May 10 '14 at 12:35
If $U \subset \Bbb{R}$, then isn't a limit point of $U$ a point $x \in \Bbb{R}$ such that given any deleted neighborhood $N \subset \Bbb{R}$ around $x$, $N \cap U \neq \varnothing$? If so, then the answer above has no limit points; though it does have convergent subsequences. – Tom May 10 '14 at 12:48

$0-\frac12,0-\frac13,1-\frac13,0-\frac14,1-\frac14,2-\frac14,...$ has the set of nonnegative integers as the set of limit points.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.