Repeating Decimals
Summary: Decimal fractions in which one or more digits repeat indefinitely; every vulgar fraction produces either a terminating or a repeating decimal, and any repeating decimal equals a vulgar fraction with denominator consisting of 9s.
Sources: chapter-1.3.12
Last updated: 2026-05-02
Why decimals repeat
When dividing numerator by denominator , the remainder at each step belongs to . If the remainder is ever 0 the decimal terminates; otherwise, after at most steps a remainder must recur, and from that point the digit pattern repeats cyclically (§533).
Period length
The period (length of the repeating block) divides for prime denominators coprime to 10. For denominator 7 the six possible remainders give period exactly 6: .
Converting repeating decimals to fractions
Multiply by where is the period length, then subtract (§537–538):
In general, a repeating block of digits gives denominator , which equals .
Examples
| Decimal | Fraction |
|---|---|
The last example shows that exactly (§524).
Connection to geometric series
A repeating decimal is an infinite geometrical progression. For example, equals the series with first term and ratio ; the sum formula gives .