Look at several examples of rational numbers in the form (q ≠0), where p and q are integers with no common factors other than 1 and having terminating decimal representations (expansions). Can you guess what property q must satisfy?
Let's analyse some rational numbers having terminating decimal expansions.
We can see that in all the fractions, prime factorization of q is of the form where n and m are whole numbers. So, this is the property of which must be satisfied to have terminating decimal expansion.