Which of these fractions has a decimal expansion that ends after exactly 4 decimal places?
For p/q in lowest terms with q = 2ᵃ × 5ᵇ, the decimal ends after max(a, b) places.
80 = 2⁴ × 5 → 4 places (7/80 = 0.0875).
8 = 2³ → 3 places; 40 = 2³ × 5 → 3; 125 = 5³ → 3.