I got the answer right but it was a fluke! can someone help me to understand this as I am unsure where to begin.

Ah just went through the prep swift video on “does it terminate?” As long as the denominator has a combination of 2 and 5, it will terminate. My question then is what if the denominator either only has a 2 or 2? I think it would terminate ie it could be seen as 2^x.5^0 or vice versa.

Yes, the Prime Factorisation of the denominator can consist of:

- Only 2s
- Only 5s
- A combination of 2s and 5s