Difference between revisions of "2009 AIME II Problems/Problem 4"
(→Solving this problem) |
|||
Line 12: | Line 12: | ||
A group of <math>c</math> children held a grape-eating contest. When the contest was over, the following was true: There was a <math>n</math> such that for each <math>k</math> between <math>1</math> and <math>c</math>, inclusive, the child in <math>k</math>-th place had eaten exactly <math>n+2-2k</math> grapes. The total number of grapes eaten in the contest was <math>2009</math>. Find the smallest possible value of <math>n</math>. | A group of <math>c</math> children held a grape-eating contest. When the contest was over, the following was true: There was a <math>n</math> such that for each <math>k</math> between <math>1</math> and <math>c</math>, inclusive, the child in <math>k</math>-th place had eaten exactly <math>n+2-2k</math> grapes. The total number of grapes eaten in the contest was <math>2009</math>. Find the smallest possible value of <math>n</math>. | ||
− | === | + | === Solution 1 === |
The total number of grapes eaten can be computed as the sum of the arithmetic progression with initial term <math>n</math> (the number of grapes eaten by the child in <math>1</math>-st place), difference <math>d=-2</math>, and number of terms <math>c</math>. We can easily compute that this sum is equal to <math>c(n-c+1)</math>. | The total number of grapes eaten can be computed as the sum of the arithmetic progression with initial term <math>n</math> (the number of grapes eaten by the child in <math>1</math>-st place), difference <math>d=-2</math>, and number of terms <math>c</math>. We can easily compute that this sum is equal to <math>c(n-c+1)</math>. |
Revision as of 14:03, 9 April 2009
Contents
Problem
A group of children held a grape-eating contest. When the contest was over, the winner had eaten grapes, and the child in -th place had eaten grapes. The total number of grapes eaten in the contest was . Find the smallest possible value of .
Solution
Resolving the ambiguity
The problem statement is confusing, as it can be interpreted in two ways: Either as "there is a such that the child in -th place had eaten grapes", or "for all , the child in -th place had eaten grapes".
The second meaning was apparrently the intended one. Hence we will restate the problem statement in this way:
A group of children held a grape-eating contest. When the contest was over, the following was true: There was a such that for each between and , inclusive, the child in -th place had eaten exactly grapes. The total number of grapes eaten in the contest was . Find the smallest possible value of .
Solution 1
The total number of grapes eaten can be computed as the sum of the arithmetic progression with initial term (the number of grapes eaten by the child in -st place), difference , and number of terms . We can easily compute that this sum is equal to .
Hence we have the equation , and we are looking for a solution , where both and are positive integers, , and is maximized. (The condition states that even the last child had to eat a non-negative number of grapes.)
The prime factorization of is . Hence there are ways how to factor into two positive terms and :
- , , then is a solution.
- , , then is a solution.
- , , then is a solution.
- In each of the other three cases, will obviously be less than , hence these are not valid solutions.
The smallest valid solution is therefore , .
Another Solution
If the first child ate grapes, then the maximum number of grapes eaten by all the children together is . Similarly, if the first child ate grapes, the maximum total number of grapes eaten is .
For the value is less than . Hence must be at least . For , the maximum possible sum is . And we can easily see that , hence grapes can indeed be achieved for by dropping the last four children.
Hence we found a solution with and kids, and we also showed that no smaller solution exists. Therefore the answer is .
See Also
2009 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 3 |
Followed by Problem 5 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |