Stamps of 3 and 5
The problem
A post office sells only -cent and -cent stamps, in unlimited supply. What is the largest amount of postage that **cannot** be made exactly?
- You may use any non-negative number of each stamp.
- The amount must be made exactly, with no change given.
Take a minute
Reveal hint 1
Work modulo : once you can make three consecutive amounts, you can make every larger amount by adding -cent stamps.
Reveal hint 2
Which consecutive triple of amounts can you make?
Solution
Answer cents.
Derivation
-
List the small amounts.
-
Find three consecutive makeable amounts.
-
Extend by induction.
-
Check what lies below.
-
Confirm with the formula.
-
Count the gaps.