2019 AIME II Problem 14
Problem 14 of 15HarderNumber TheoryProblem-Solving Techniques
Find the sum of all positive integers such that, given an unlimited supply of stamps of denominations and cents, cents is the greatest postage that cannot be formed.
Your answer
Integer from 0 to 999
Show solution
Solution
Using stamps of the denominations and produces exactly the amounts for and adding -cent stamps then covers everything above in the same residue class mod So in each class every amount at least is formable and nothing smaller is, where is the least value of congruent to mod The greatest non-formable amount is so we need the class of (which is mod ) must be covered first exactly at and every other class no later.
Case on noting If class needs with first possible at so and the other classes are covered at all less than so works. If class is first covered at so and the other classes are covered at so works.
If class first at so but then class is first covered at — fails. If class first at but then class is first covered at — fails. If class first at so but class needs giving — fails. The answer is
Tagged: Chicken McNugget Theorem · modular arithmetic · casework