Skip to content
Vamshi Jandhyala

Books · Number Puzzles

Chapter 42

What the Post Office Cannot Make

A shop sells stamps in only two values, 1515 pence and 2222 pence. Using any number of each, many totals can be made exactly, but not all: you cannot make 11p, or 77p, or 3030p. What is the largest amount that cannot be made exactly?

Solution

The answer is 293293 pence. Beyond it, every amount can be made; 293293 itself cannot, and it is the last that defeats you.

The reason such a largest value exists at all is that 1515 and 2222 share no common factor. Once you can make some run of 1515 consecutive amounts, you can make everything above it, simply by adding more 1515p stamps to climb in steps of fifteen. For two coprime values mm and nn the largest unreachable total works out to mnmn=15×221522=33037=293,mn - m - n = 15 \times 22 - 15 - 22 = 330 - 37 = 293, a tidy formula worth knowing.

That 293293 really cannot be made is worth proving outright. Suppose 293=15a+22b293 = 15a + 22b with a,ba, b whole numbers, none negative. Add 15+2215 + 22 to both sides: the right becomes 15(a+1)+22(b+1)15(a+1) + 22(b+1), and the left becomes 293+37=330=15×22293 + 37 = 330 = 15 \times 22. So 15(a+1)+22(b+1)=15×22.15(a+1) + 22(b+1) = 15 \times 22. Now 15(a+1)15(a+1) is a multiple of 1515, and the right side 15×2215 \times 22 is too, so the remaining term 22(b+1)22(b+1) must also be a multiple of 1515. Since 2222 and 1515 share no common factor, it is b+1b + 1 that has to supply the factor of 1515, so b+1b + 1 is at least 1515. Swapping the roles of 1515 and 2222, the same reasoning forces a+1a + 1 to be at least 2222. But then the left side is at least 15×22+22×15=2×33015 \times 22 + 22 \times 15 = 2 \times 330, far more than the 330330 it is supposed to equal. The contradiction shows no such a,ba, b exist, so 293293 is unreachable.

Everything past it, on the other hand, is reachable. The next fifteen totals can each be made, for instance 294=15×2+22×12294 = 15 \times 2 + 22 \times 12 and 295=15×5+22×10295 = 15 \times 5 + 22 \times 10, and once fifteen consecutive totals are in hand, adding one more 1515p stamp to each climbs through everything beyond in steps of fifteen.