For a rational number to generate a repeating decimal, the correct condition is:
The denominator must not evenly divide any power of 10.
This is because a rational number will have a terminating decimal if the simplified form of its denominator (after removing all factors of 2 and 5) is 1. If there are any other prime factors (anything other than 2 and 5), the decimal representation will be repeating.