chrisjim5 wrote:Here is a question:
Any decimal that has only a finite number of nonzero digits is a terminating decimal. For example, 36, 0.72, and 3.005 are terminating decimals.
If a, b, c, d and e are non-negative integers and p = 2^a*3^b and q = 2^c*3^d*5^e, is p/q a terminating decimal?
(1) a > c
(2) b > d
Can you please provide an answer to this?
You can recognize whether a fraction will produce a terminating decimal by:
1. Reducing your fraction completely
2. Then looking only at the prime factors of the denominator. If the denominator has any prime factor besides 2 or 5, the fraction will give a *repeating* (infinite) decimal. If the only prime factors of the denominator are 2 and/or 5, the fraction will give a terminating decimal.
So fractions like 3/16 (only prime factor of denominator is 2), 9/125 (only prime factor of denominator is 5) and 3/40 (only prime factors of denominator are 2 and 5) will all produce terminating decimals. Fractions like 1/13, 9/35, and 11/120 will all produce non-terminating decimals since each is completely reduced, and has a factor different from 2 or 5 in the denominator. The first step above is critical; while a fraction like 7/35 might appear to have a factor of 7 in the denominator, that 7 actually cancels with the 7 in the numerator to give us 1/5, a terminating decimal.
So in this question, we have the fraction:
(2^a*3^b) / (2^c*3^d*5^e)
The only reason this might not terminate is because of the 3's; if our 3^d in the denominator does not cancel out completely, we will get a repeating decimal. If it does cancel, we will get a terminating decimal. Statement 2 tells us that it will cancel completely, so is sufficient. Statement 1 doesn't help. So the answer is B.