So I've looked at the examples $\frac{1}{192}$ where we needed to find a base which gave a terminating expansion with precisely 2 digits after the point, and $\frac{22}{675}$ where the digits after the point weren't specified. (Both fractions are in base 10 to start with.)
For $\frac{1}{192}$ the base was 24 and for $\frac{22}{675}$ it was 15 but I don't understand how they got to those answers.
Could somebody please explain or give me a generalised method to do it?
Thank you!
The problem of finding the smallest $b$ such that $\frac1{192}$ can be written in base $b$ with exactly $2$ digits is the problem of findint the smallest $b$ such that $\frac1{192}$ and be written as $\frac\alpha b+\frac\beta{b^2}$ with $\alpha,\beta\in\{0,1,\ldots,b-1\}$ and $\beta>0$. But $\frac\alpha b+\frac\beta{b^2}=\frac{\alpha b+\beta}{b^2}$. Now, how can we write$$\frac{\alpha b+\beta}{b^2}=\frac1{192}?$$This implies that $192\mid b^2$. Since $192=2^6\times3$, the smallest perfect square which is a multiple of $192$ is $2^6\times3^2=576=24^2$. So, since$$\frac3{24^2}=\frac3{576}=\frac1{192},$$you take $b=24$.
Can you solve the other problem now?