2021 AMC 10A Problem 18
Let be a function defined on the set of positive rational numbers with the property that for all positive rational numbers and . Furthermore, suppose that also has the property that for every prime number . For which of the following numbers is ?
Show solution without answering
Key insight
The rule turns products into sums, so f of a whole number is the sum of its prime factors, repeats included, and f of a fraction is top minus bottom.
Solution
1. Start with whole numbers and use the rule on small examples:
- ;
- ;
- .
So of a whole number is the sum of the primes in its factorization, with repeats counted. For example and .
2. Next find . Since , the rule gives . The only number equal to twice itself is , so .
3. Now fractions. Since , we get , so . Then
In words: of the top minus of the bottom.
4. Check each choice:
| choice | top | (top) | bottom | (bottom) | |
|---|---|---|---|---|---|
| (A) | |||||
| (B) | |||||
| (C) | |||||
| (D) | |||||
| (E) |
Only (E) is negative.
The answer is .
Why this works
A rule that turns multiplying into adding means everything is decided by the values on primes, because every whole number is built from primes by multiplying. Always work out and from the rule before looking at the choices; after that, each choice is a short sum.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Setting gives , so . Then , so and in general .
For a positive integer, repeated use of on its prime factorization shows is the sum of the prime factors of , counted with multiplicity. For example and .
Evaluate each choice as (sum for numerator) minus (sum for denominator):
- (A) : ;
- (B) : ;
- (C) : ;
- (D) : ;
- (E) : .
Only (E) is negative. The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 16: Functions
- Introduction to Number Theory, Chapter 2: Primes and Composites
- Introduction to Algebra, Chapter 17: Graphing Functions (§17.2)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.2, §4.4)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.