Skip to main content

2022 AIME II Problem 14

Problem 14 of 15HarderAlgebraProblem-Solving Techniques

For positive integers a,a, b,b, and cc with a<b<c,a \lt b \lt c, consider collections of postage stamps in denominations a,a, b,b, and cc cents that contain at least one stamp of each denomination. If there exists such a collection that contains sub-collections worth every whole number of cents up to 10001000 cents, let f(a,b,c)f(a, b, c) be the minimum number of stamps in such a collection. Find the sum of the three least values of cc such that f(a,b,c)=97f(a, b, c) = 97 for some choice of aa and b.b.

Your answer

Integer from 0 to 999
Show solution

Solution

To form 11 cent we need a=1.a = 1. Suppose the collection has xx ones, yy stamps of b,b, and zz of c.c. The value b−1b - 1 must be made from ones alone, so x≥b−1;x \ge b - 1; the value c−1c - 1 must be made from ones and bb’s, so x+yb≥c−1;x + yb \ge c - 1; and the total x+yb+zcx + yb + zc must be at least 1000.1000. Conversely these three conditions suffice: with x≥b−1x \ge b - 1 the ones and bb’s make every value up to x+yb,x + yb, and then cc’s extend this to every value up to the total. So the optimum takes x=b−1,x = b - 1, then the least yy with x+yb≥c−1,x + yb \ge c - 1, then the least zz reaching 1000.1000. For fixed c,c, no bb can require more stamps than b=c−1.b=c-1. Indeed, for any 2≤b<c,2\le b\lt c, take b−1b-1 ones and c−bc-b stamps of b.b. These c−1c-1 lower-denomination stamps have total value b−1+b(c−b)≥2c−3, b-1+b(c-b)\ge 2c-3, because the difference is (b−2)(c−b−1)≥0.(b-2)(c-b-1)\ge0. Adding ⌈1003c⌉−2\left\lceil\frac{1003}{c}\right\rceil-2 stamps of cc therefore gives a working collection of at most c−3+⌈1003c⌉c-3+\left\lceil\frac{1003}{c}\right\rceil stamps. Equality is attained when b=c−1:b=c-1: the mandatory c−2c-2 ones and one c−1c-1 stamp have value 2c−3,2c-3, and stamps of value at most cc cannot reach 10001000 with fewer than c−3+⌈1003c⌉ c-3+\left\lceil\frac{1003}{c}\right\rceil stamps in total. For 12≤c≤87,12\le c\le87, the endpoint bounds c(99−c)≥1003c(99-c)\ge1003 give ⌈1003c⌉≤99−c,\left\lceil\frac{1003}{c}\right\rceil\le99-c, so this maximum is at most 9696 and no bb gives 97.97. For c≤10,c\le10, any 9797 stamps have total value at most 97c≤970,97c\le970, so they cannot cover every value through 1000.1000. For c=11,c = 11, taking b=7b = 7 gives 66 ones, one 77 (reaching 13≥1013 \ge 10), and ⌈98711⌉=90\left\lceil \frac{987}{11} \right\rceil = 90 elevens: f(1,7,11)=6+1+90=97.f(1, 7, 11) = 6 + 1 + 90 = 97. For c=88c = 88 and c=89,c = 89, taking b=87b = 87 gives 8686 ones, one 8787 (reaching 173173), and ⌈82788⌉=⌈82789⌉=10\left\lceil \frac{827}{88} \right\rceil = \left\lceil \frac{827}{89} \right\rceil = 10 stamps of c,c, for 86+1+10=9786 + 1 + 10 = 97 in both cases. So the three least values of cc are 11,88,89,11, 88, 89, with sum 188.188.
AoPS wiki

Tagged: optimization · floor and ceiling functions · casework

More practice