Skip to main content

2009 AIME II Problem 4

Problem 4 of 15EasierAlgebraNumber TheoryProblem-Solving Techniques

A group of children held a grape-eating contest. When the contest was over, the winner had eaten nn grapes, and the child in kkth place had eaten n+2−2kn + 2 - 2k grapes. The total number of grapes eaten in the contest was 2009.2009. Find the smallest possible value of n.n.

Your answer

Integer from 0 to 999
Show solution

Solution

Let cc be the number of children. The grape counts n,n, n−2,n - 2, …,\ldots, n+2−2cn + 2 - 2c form an arithmetic sequence, so the total is cc times the average of the first and last terms: c⋅n+(n+2−2c)2=c(n+1−c)=2009=72⋅41. \begin{aligned} &c \cdot \frac{n + (n + 2 - 2c)}{2} \\ &= c(n + 1 - c) \\ &= 2009 = 7^2 \cdot 41. \end{aligned} Thus 20092009 is divisible by cc and n=2009c+c−1.n = \frac{2009}{c} + c - 1. The last-place child ate n+2−2c=2009c+1−c≥0n + 2 - 2c = \frac{2009}{c} + 1 - c \ge 0 grapes, which forces c(c−1)≤2009,c(c - 1) \le 2009, ruling out c=49,c = 49, 287,287, and 2009.2009. The remaining divisors give n=2009n = 2009 for c=1,c = 1, n=287+6=293n = 287 + 6 = 293 for c=7,c = 7, and n=49+40=89n = 49 + 40 = 89 for c=41.c = 41. The smallest possible value is n=89.n = 89.
AoPS wiki

Tagged: arithmetic sequence · factor · casework

More practice