Difference between revisions of "2009 AIME II Problems/Problem 4"
God of Math (talk | contribs) (→Solution) |
God of Math (talk | contribs) (→Another Solution) |
||
Line 30: | Line 30: | ||
=== Another Solution === | === Another Solution === | ||
− | Let us go in order of place, from <math>1</math> to <math>k</math>. The first kid eats <math>n</math> grapes, the second kid eats <math>n - 2</math> grapes, and so on. These must sum up to 2009. Hence <math>n(k + 1) - 2(k)(k + 1)/2 = 2009</math>, or <math>n(k + 1) - k(k + 1) = 2009</math>. Factoring, we get <math>(n - k)(k + 1) = 2009</math>. We are only looking for integer solutions, so we can prime factorize 2009 and look for factor pairs. <math>2009 = (7)*(7)*(41)</math>. So <math>(n - k) = 2009</math> and <math>k + 1 = 1</math>, <math>(n - k) = 49</math> and <math>(k + 1) = 41</math>, or <math>(n - k) = 287 and < | + | Let us go in order of place, from <math>1</math> to <math>k</math>. The first kid eats <math>n</math> grapes, the second kid eats <math>n - 2</math> grapes, and so on. These must sum up to 2009. Hence <math>n(k + 1) - 2(k)(k + 1)/2 = 2009</math>, or <math>n(k + 1) - k(k + 1) = 2009</math>. Factoring, we get <math>(n - k)(k + 1) = 2009</math>. We are only looking for integer solutions, so we can prime factorize 2009 and look for factor pairs. <math>2009 = (7)*(7)*(41)</math>. So <math>(n - k) = 2009</math> and <math>k + 1 = 1</math>, <math>(n - k) = 49</math> and <math>(k + 1) = 41</math>, or <math>(n - k) = 287</math> and <math>(k + 1) = 7</math>. The solution sets (in the form (n , k), respectively, are <math>(2009, 0)</math>, <math>(293, 6)</math>, and <math>(89, 48)</math>. The pair with the smallest n value has <math>n=\boxed{089}</math>. |
== See Also == | == See Also == | ||
{{AIME box|year=2009|n=II|num-b=3|num-a=5}} | {{AIME box|year=2009|n=II|num-b=3|num-a=5}} |
Revision as of 19:14, 8 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 .
Solving this problem
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
Let us go in order of place, from to . The first kid eats grapes, the second kid eats grapes, and so on. These must sum up to 2009. Hence , or . Factoring, we get . We are only looking for integer solutions, so we can prime factorize 2009 and look for factor pairs. . So and , and , or and . The solution sets (in the form (n , k), respectively, are , , and . The pair with the smallest n value has .
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 |