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

Is $$S = \left\{ \frac{m}{10^n}\,\Bigm|\, m,n\in\mathbb{Z}, n\geq 0\right\}$$ dense in the set of real numbers ?

I guess that $S$ is dense in $\mathbb{R}$ and so I was tring to produce a sequence in $S$ that converges to any given real number . Thanks for any help .

share|cite|improve this question
Truncating a real $x\in\Bbb R$ to the first $n$ decimal digits results in an element of $S$, so naturally we can use this to find a converging sequence. In particular, given $x$ define $$x_n:= \frac{\lfloor 10^nx \rfloor}{10^n}=\frac{10^nx-\{10^n x\}}{10^n}=x-\frac{\epsilon_n}{10^n}$$ with $\lfloor\cdot\rfloor$ and $\{\cdot\}$ the floor and fractional part functions respectively. Given $\epsilon_n\in[0,1)$ and $10^{-n}\to0$ we find that $x_n\to x$. – anon May 21 '12 at 2:34
up vote 2 down vote accepted

Or, more explicitly:

Choose $x \in \mathbb{R}$, and let $x_n = \frac{\lfloor 10^n x \rfloor}{10^n}$. Then $x_n \in S$, $\forall n$, and $|x-x_n| < \frac{1}{10^n}$. Hence $x_n \rightarrow x$, so $S$ is dense.

share|cite|improve this answer

Hint: Any real number $r$ has a decimal expansion $d_n\cdots d_0.d_{-1}\cdots$. What happens if you consider the sequence $d_n\cdots d_0.d_{-1},d_n\cdots d_0.d_{-1}d_{-2},\ldots$?

share|cite|improve this answer

Hint. Decimal expansion. Also: for every $\epsilon\gt 0$ there exists $b\in\mathbb{Z}$, $b\gt 0$ such that $\frac{1}{10^b}\lt \epsilon$.

share|cite|improve this answer
Thanks to everyone for helping me out. – Ester May 21 '12 at 2:47

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.