I am trying to prove that a number x = $<0.d_{-1}...d_{-k}d_{-1}...d_{-k}d_{-1}...>$ is rational.
The exercice advises to firstdo $10^k \times x - <\color{red}{0.}d_{-1}...d_{-k}>$ which if I am right is equal to $\color{red}{\text{an integer}}$ (for instance $10³ * 0.123123123 - \color{red}{0.}123 =\color{red}{123}$)
But I don't know at all how to prove that this is a rational number from there, what can I do to prove that ?
Thank you