How can I construct a rational sequence explicitly that converges to $ x $?
I tried to consider $x\in [0,1]$ with \begin{equation*} \bigcup_{i = 0}^{n-1} \left[ \frac{i}{n},\frac{i+1}{n} \right] = [0,1] , \end{equation*} then exists $0\leq i\leq n-1$ such that $x\in[i/n,(i+1)/n]$. And with $\lfloor x\rfloor$ y can traslate this interval such that for all $x\in\mathbb{R}$ \begin{equation*} x\in \bigcup_{i = 0}^{n-1} \left[\lfloor x\rfloor + \frac{i}{n},\frac{i+1}{n} + \lfloor x\rfloor\right] = [\lfloor x\rfloor,\lfloor x\rfloor+1] , \end{equation*} Then, reasoning as before, there exists $1\leq i\leq n-1$ such that $x\in[\lfloor x\rfloor+i/n , \lfloor x\rfloor + (i+1)/n]$.
But, taking limit I would like to decrease the interval and obtain a rational sequence that goes to $ x $ in terms of its integer part, $ i $ and $ n $.
I get a sequence $(q_{n})_{n\in\mathbb{N}}$ $$ q_{n} = \frac{\lfloor x\rfloor n+i}{n}, $$ but this limit is $\lfloor x\rfloor$. Could someone help me with this? (it is to prepare an assistantship class)
Regards!!