2018 AMC 10A Problem 18
Problem 18 of 25IntermediateNumber TheoryCounting & Probability
How many nonnegative integers can be written in the form where for
Answer choices
Show solution
Solution
Note that every number formed by this sum is either positive, negative, or zero.
The number of positive numbers equals the number of negative numbers due to symmetry (flip the s to s and s to s).
The only way for the sum to be is if all the coefficients are
The total number of numbers is Because each power of is larger than the sum of all previous powers of three, each combination of coefficients yields a different value. More explicitly, at the highest place where two combinations differ, the difference has magnitude at least while all lower places together can cancel at most
Therefore, there are distinct nonnegative integers.
Thus, D is the correct answer.