Let $ m \in \mathbb Z \space with \space m\ge 2,$ $Let\space a_{1},a_{2},a_{3}...\in \left\{0,1,2,3...,m-1\right\}\\Let\space S_{n} = \sum_{k=1}^{n}\frac{a_{k}}{m^{k}},Given \space x\in[0,1],show\space that \space there\space exist \space a_{1},a_{2},a_{3}...\space such\space that \ we\ have \lim_{n\to\infty}S_{n} = x $
I got stuck in this question , I firstly want to pick $a_{k} = x(m-1)$ since this is a geometric series leads to the answer but it does not satisfy the condition that $a_{k}$ must be an interger in [1,m-1]. Anyone can give me some hints for this problem ? Thanks !