-1

The question is taken from a problem-solving test:

Both p and q are positive integers. What's the smallest possible value of the numbers such that:

$\frac{p}{q}=0,126126\overline{126}$

I don't really know how to proceed with such a question without just trying different values I see if I find some pattern. Does anyone have a method for solving these types of questions in general?

1 Answers1

1

$$\frac{p}{q}=0.\overline{126}$$ Multiply the equation above by $10^n$ where $n=$the number of repeating digits. $$1000\frac{p}{q}=126.\overline{126}$$ Subtracting the given equation from the second equation. $$999\frac{p}{q}=126$$ Solve the equation above for $\frac{p}{q}$. $$\frac{p}{q}=\frac{126}{999}$$ $$\frac{p}{q}=\frac{14}{111}$$ Therefore, $p=14$ and $q=111$ are the smallest possible integer values for $p$ and $q$.