I was wondering if a rational number p/q can be identified as either repeating decimal or terminating decimal by looking at numerator and denominator. In other words, is there a property that if p and q follow, then p/q is always repeating decimal.
2026-05-10 20:40:35.1778445635
Identifying if the rational number terminates or repeats by looking at numerator and denominator
40 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
To terminate you must have $\frac pq=\frac a{10^n}$ for some $n$. As $10^n$ has only $2$ and $5$ for prime factors, so must $q$.