Proofs · Chapter 16

Stamp Amounts

With 4¢ and 5¢ stamps you can pay every amount from 12¢ on, but not 11¢. Find any two stamps’ last gap and a way to pay any amount past it.

Home › Calculators › Proofs › Stamp Amounts

Opens on Chapter 16’s example: the library’s old stamp drawer: 4¢ and 5¢ stamps.

More strong induction (optional)
Enter your own case, then press Work it out.

How it works

Amounts up to the last gap are checked one by one. After it come as many payable amounts in a row as the smaller stamp, the base cases; then every larger amount is a smaller one plus one more stamp. That is strong induction, and it covers every amount. If both stamps share a factor, the gaps never end.

From the book, Chapter 16. 4¢ and 5¢ can’t pay 1, 2, 3, 6, 7 and 11¢; the base cases are 12, 13, 14 and 15¢. With 3¢ and 5¢, the gaps are 1, 2, 4 and 7¢. 100 = 89 + 8 + 3, and moving each up the list gives 162 km for 100 miles (really 160.9). 10 stairs can be climbed 89 ways (55 + 34). A 4 × 6 bar takes 23 breaks. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.