2018 AMC 10 A
Complete problem set with solutions and individual problem pages
How many nonnegative integers can be written in the form , where for ? (2018 AMC 10A Problem, Question#18)
- A.
- B.
- C.
- D.
- E.
This looks like balanced ternary, in which all the integers with absolute values less than are represented in digits. There are digits. Plugging in into the formula for the balanced ternary gives a maximum bound of , which means there are positive integers, , and negative integers. Since we want all nonnegative integers, there are integers or .
Note that all numbers formed from this sum are either positive, negative or zero. The number of positive numbers formed by this sum is equal to the number of negative numbers formed by this sum, because of symmetry. There is only one way to achieve a sum of zero, if all . The total number of ways to pick from is . gives the number of possible negative integers. The question asks for the number of nonnegative integers, so subtracting from the total gives .
Note that the number of total possibilities (ignoring the conditions set by the problem) is . So, is clearly unrealistic.
Note that if is , then it's impossible for , to be negative. Therefore, if is , there are possibilities. (We also must convince ourselves that these different sets of coefficients must necessarily yield different integer results.)
As , , and are all less than , the answer must be .
Note that we can do some simple casework: If , then we can choose anything for the other variables, so this give us . If and , then we can choose anything for the other variables, giving us . If , , and , then we have . Continuing in this vein, we have ways to choose the variables' values, except we have to add because we haven't counted the case where all variables are . So our total sum is . Note that we have counted all possibilities, because the largest positive positive power of must be greater than or equal to the largest negative positive power of , for the number to be nonnegative.
The key is to realize that this question is basically taking place in if each value of was increased by , essentially making it into base . Then the range would be from to , yielding different values.
Since the distribution for all the question originally gave is symmetrical, we retain the positive integers and one but discard the negative integers. Thus, we are left with the answer, .
First, set for all . The range would be the integers for which . If for all , our set expands to include all integers such that . Similarly, when we get , and when the range is . The pattern continues until we reach , where . Because we are only looking for positive integers, we filter out all , leaving us with all integers between , inclusive. The answer becomes .
To get the number of integers, we can get the highest positive integer that can be represented using , where for .
Note that the least nonnegative integer that can be represented is , when all . The highest number will be the number when all . That will be .
Therefore, there are positive integers and () nonnegative integers (while including ) that can be represented. Our answer is .
