Is it only limited to 2^m * 5^n or we can try try to break it in 2^m * 3^n as well??
The fraction a/b
is a terminating fraction only if the denominator b
meets any of following conditions
(1) the denominator is a form of 2^n
(2) the denominator is a form of 5^m
(3) the denominator is a form of 2^n*5^m
If the denominator
is a form of 2^n*3^m ==> The fraction is not terminating.
Hope it helps.
That's correct if a/b is already reduced to its lowest term.
The denominator of 3/30 is not a form of 2^n*5^m but 3/30 IS a terminating decimal, because 3 can be reduced.