AMC 12 Mock Exam 9 Problem 15
Problem 15 of 25
Ravi lists every number of the form , where and are integers with . He writes each number only once, so, for example, and count as the same entry. Then he circles each number on his list whose decimal expansion does not terminate. How many numbers does Ravi circle?
Answer choices
Show solution
Solution
Each number on the list is in and has a unique lowest-terms form with . For a fixed denominator , the numerators are the with , and there are of them. For the values of are whose sum is . So the list has numbers.
A fraction in lowest terms has a terminating decimal exactly when its denominator has no prime factors other than and . Here those denominators are , which contribute terminating numbers. Ravi circles numbers.
(Without merging equal fractions there would be entries, and .)
Tagged: counting reduced fractions with Euler's totient · terminating decimals