Difference between revisions of "2009 AIME I Problems/Problem 8"
(Improve the conciseness and style of this solution) |
(Improve style) |
||
Line 28: | Line 28: | ||
This solution is a generalized approach that work when <math>10</math> is replaced by other values. | This solution is a generalized approach that work when <math>10</math> is replaced by other values. | ||
+ | |||
In similarity to the logic in Solution 2, <math>N = \sum_{x=0}^{10} (2x-10) 2^x</math>. | In similarity to the logic in Solution 2, <math>N = \sum_{x=0}^{10} (2x-10) 2^x</math>. | ||
− | Let <math>A = \sum_{x=0}^{10} x2^x</math> and let <math>B=\sum_{x=0}^{10} 2^x</math>. Then | + | Let <math>A = \sum_{x=0}^{10} x2^x</math> and let <math>B=\sum_{x=0}^{10} 2^x</math>. Then <math>N=2A - 10B</math>. |
− | + | <math>B</math> can be calculated easily by geometric series with sum <math>2^{11}-1 = 2047</math>. Hence <math>B\bmod 1000 = 47</math>. | |
We can compute <math>A</math> using a trick known as the change of summation order. | We can compute <math>A</math> using a trick known as the change of summation order. |
Revision as of 09:24, 23 January 2023
Contents
Problem
Let . Consider all possible positive differences of pairs of elements of . Let be the sum of all of these differences. Find the remainder when is divided by .
Solution 1 (Extreme bash)
Find the positive differences in all pairs and you will get .
Solution 2
When computing , the number will be added times (for terms , , ..., ), and subtracted times. Hence can be computed as .
We can now simply evaluate . One reasonably simple way:
Solution 3
This solution is a generalized approach that work when is replaced by other values.
In similarity to the logic in Solution 2, .
Let and let . Then .
can be calculated easily by geometric series with sum . Hence .
We can compute using a trick known as the change of summation order.
Imagine writing down a table that has rows with labels 0 to 10. In row , write the number into the first columns. You will get a triangular table. Obviously, the row sums of this table are of the form , and therefore the sum of all the numbers is precisely .
Now consider the ten columns in this table. Let's label them 1 to 10. In column , you have the values to , each of them once. And this is just a geometric series with the sum . We can now sum these column sums to get . Hence we have . This simplifies to .
Hence .
Then .
Solution 4
Consider the unique differences . Simple casework yields a sum of . This method generalizes nicely as well.
Video Solution
See also
2009 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 7 |
Followed by Problem 9 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.