by RonPurewal Wed Apr 23, 2008 4:21 am
ok people, here it is, as succinctly as i can put it:
if you want a terminating decimal, you have to have only 2's and/or 5's in the denominator (after you factor everything into primes, and cancel all the primes that are common to the top and bottom).
this condition also works in converse: if you write a fraction whose denominator is a product of 2's and 5's only, it's guaranteed to be a terminating decimal - and if there's any other prime in there, it won't terminate.
--
in this question, then, you can rephrase the question as follows:
are there any 3's in the denominator? (yes --> not terminating; no --> terminating{
which is the same as
is b > d? (because all the 3's in the denominator will cancel if this is so, and not otherwise)
the rest follows.