Problem:
For positive integers a,b, and c with a<b<c, consider collections of postage stamps in denominations a,b, and c 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 1000 cents, let f(a,b,c) be the minimum number of stamps in such a collection. Find the sum of the three least values of c such that f(a,b,c)=97 for some choice of a and b.
Solution:
First note that a must be 1 . To make every positive integer number of cents up to cβ1 requires at most cβ1 stamps of denominations 1 and b, and the number of c-cent stamps then required to make every positive integer number of cents up to 1000 is at most
Hence the possible values of c must satisfy the inequality
(cβ1)+βc1000βββ₯97
implying that c2β98c+1000β₯0. Thus cβ€49β1401β or cβ₯49+1401β, and the integer solutions are cβ€11 or cβ₯87. Let the number of stamps of denominations 1,b, and c be naβ,nbβ, and ncβ, respectively, and consider two cases.
Case cβ€11 :
Note that 97β 10=970<1000, so no value of c less than 11 is possible, but 11 is a possible value of c if b=7 and (naβ,nbβ,ncβ)=(6,1,90).
Case cβ₯87 :
If c=87, then ncββ€11 and naβ+nbββ€86, and 87 is a possible value of c only if equality holds in both cases. However, if naβ+nbβ=86, then the collection contains 851 -cent stamps and 186 -cent stamp. The total value of those stamps in cents is 171 , and because 1000β171<10β 87, only 1087 -cent stamps are needed to make all of the required amounts.
If c=88, then ncββ€11 and naβ+nbββ€87, so if 88 is a possible value of c, then (naβ+nbβ,ncβ)=(86,11) or (naβ+nbβ,ncβ)=(87,10). In fact both 88 and 89 are possible values of c if b=87 and (naβ,nbβ,ncβ)=(86,1,10).
The sum of the three least possible values of c is therefore 11+88+89=188β.