Rational Numbers & Repeating Decimals
Dividing 1 by 3 gives 0.333... forever, and 1 by 7 repeats six digits. Some fractions terminate and others repeat, decided by whether the denominator has only 2 and 5 as prime factors. Multiply a repeating decimal by a power of ten, subtract, and the loop becomes a clean fraction. Slide the denominator and repeating digit to see why a decimal ends or loops.