2012 AMC 10A Problems/Problem 22
The sum of the first positive odd integers is 212 more than the sum of the first positive even integers. What is the sum of all possible values of ?
The sum of the first odd integers is given by . The sum of the first even integers is given by .
Thus, . Since we want to solve for n, rearrange as a quadratic equation: .
Use the quadratic formula: . is clearly an integer, so must be not only a perfect square, but also an odd perfect square. This is because the entire expression must be an integer, and for the numerator to be even (divisible by 2), must be odd.
Let = . (Note that this means that .) This can be rewritten as , which can then be rewritten to . Factor the left side by using the difference of squares. .
Our goal is to find possible values for , then use the equation above to find . The difference between the factors is We have three pairs of factors, . The differences between these factors are , , and - those are all possible values for . Thus the possibilities for are , , and .
Now plug in these values into the equation . can equal , , or . Add . The answer is .