Skip to content
Theorem

When a rational number's decimal expansion terminates

Arithmetic • Number System • Rational Numbers

Statement

A rational number in lowest terms has a terminating decimal expansion if and only if for some integers ; otherwise the expansion is non-terminating and repeating.

How to use it

  1. 1Reduce the fraction first, then factorise only the denominator — the numerator is irrelevant.
  2. 2Scan the denominator's prime factors: a single prime other than or is enough to force a repeating expansion.
  3. 3Every rational is either terminating or repeating, so 'not terminating' and 'repeating' are the same verdict here.

Worked example

Does have a terminating decimal expansion?

Step-by-step

  1. 1

    Why: Cancel the common factor before judging the denominator.

  2. 2

    Why: Only the prime appears, so the expansion terminates.

  3. 3

Answer

Yes, it terminates:

Watch out

The test is invalid before reduction: has the prime in its printed denominator yet still terminates, because that cancels.

Builds on

Also known as

terminating decimal, recurring decimal, decimal expansion of a rational, denominator 2^m 5^n

Appears in past papers

2019 (I)

2018 (I)

2016 (II)