A terminating decimal is a decimal representation with only finitely many nonzero fractional numerical digits. For a reduced fraction with , this occurs exactly when every prime factor of is or .
If the representation terminates after fractional digits, write for an integer . Since are coprime integers, divides . This proves necessity. Conversely, if , choose . Then , making an integer and giving a finite representation.
For example, because divides . The reduced fraction has a denominator factor , so its decimal representation cannot terminate. A zero tail is distinct from a nonzero repeating block; the latter is measured by decimal period from multiplicative order.
Articles by others on the same topic
There are currently no matching articles.