2006 AMC 12A Problems/Problem 24
is simplified by expanding it and combining like terms. How many terms are in the simplified expression?
By the Multinomial Theorem, the summands can be written as
respectively. Since the coefficients of like terms are the same in each expression, each like term either cancel one another out or the coefficient doubles. In each expansion there are:
terms without cancellation. For any term in the second expansion to be negative, the parity of the exponents of and must be opposite. Now we find a pattern:
if the exponent of is , the exponent of can be all even integers up to , so there are terms.
if the exponent of is , the exponent of can go up to , so there are terms.
if the exponent of is , then can only be 0, so there is term.
If we add them up, we get terms. However, we can switch the exponents of and and these terms will still have a negative sign. So there are a total of negative terms.
By subtracting this number from 2015028, we obtain or as our answer.
Alternatively, we can use a generating function to solve this problem. The goal is to find the generating function for the number of unique terms in the simplified expression (in terms of ). In other words, we want to find where the coefficient of equals the number of unique terms in .
First, we note that all unique terms in the expression have the form, , where and is some constant. Therefore, the generating function for the MAXIMUM number of unique terms possible in the simplified expression of is
Secondly, we note that a certain number of terms of the form, , do not appear in the simplified version of our expression because those terms cancel. Specifically, we observe that terms cancel when because every unique term is of the form: for all possible .
Since the generating function for the maximum number of unique terms is already known, it is logical that we want to find the generating function for the number of terms that cancel, also in terms of . With some thought, we see that this desired generating function is the following:
Now, we want to subtract the latter from the former in order to get the generating function for the number of unique terms in , our initial goal: which equals
The coefficient of of the above expression equals
Evaluating the expression, we get , as expected.
Define such that . Then the expression in the problem becomes: .
Expanding this using binomial theorem gives , where (we may omit the coefficients, as we are seeking for the number of terms, not the terms themselves).
Simplifying gives: . Note that two terms that come out of different powers of cannot combine and simplify, as their exponent of will differ. Therefore, we simply add the number of terms produced from each addend. By the Binomial Theorem, will have terms, so the answer is .
Using stars and bars we know that has or different terms. Now we need to find out how many of these terms are canceled out by . We know that for any term(let's say ) where of the expansion of is only going to cancel out with the corresponding term if only is odd and is even or is even and is odd. Now let's do some casework to see how many terms fit this criteria:
Case 1: is even
Now we know that is even and . Thus is also even or both and are odd or both and are even. This case clearly fails the above criteria and there are 0 possible solutions.
Case 2: is odd
Now we know that is odd and . Thus is odd and is odd and is even or is even and is odd. All terms that have being odd work.
We now need to figure out how many of the terms have as a odd number. We know that can be equal to any number between 0 and 2006. There are 1003 odd numbers between this range and 2007 total numbers. Thus of the terms will cancel out and of the terms will work. Thus there are terms. This number comes out to be (Author: David Camacho)
|2006 AMC 12A (Problems • Answer Key • Resources)|
|1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25|
|All AMC 12 Problems and Solutions|