Given a basis, like 10, what numbers can be exactly represented in a number base 10, without repeating decimals (is it called n-mals for a general base $n$)?
I assumed it is any number which could be written as a fraction of: $$ \frac{X}{2^p \times 5^q} $$ being 2 and 5 the prime factors of 10 and $n$ and $m$ and $X$ are integers.
Rule that applied to base 2 would be: $$ \frac{X}{2^p} $$
And to base 60 would be: $$ \frac{X}{2^p \times 3^q \times 5^r} $$
Is that correct? If not, what is the correct rule?