Learn this topic first
Skip to the questions ↓Read this, then start. Tap a topic to open or close it.
Cryptarithmetic
SEND + MORE = MONEY: every letter is a different digit. You do not guess. You use four rules, each one proved today, and the puzzle falls apart column by column.
Place value: turn letters into numbers
In a cryptarithm, letters stand for digits. AB does not mean A times B. It means the two-digit number with A in the tens place and B in the ones place.
So AB = 10A + B, and ABC = 100A + 10B + C. Writing this out turns a puzzle into ordinary algebra.
- AB + BA = (10A + B) + (10B + A).Write each number in place value.
- = 11A + 11B = 11(A + B).Collect the A terms and the B terms.
- AB - BA = (10A + B) - (10B + A) = 9A - 9B = 9(A - B).
- ABC - CBA = (100A + 10B + C) - (100C + 10B + A) = 99A - 99C = 99(A - C).The middle digit cancels.
- Hence proved.
Addition-based puzzles and carries
Add from the right, one column at a time, exactly like school addition. When a column adds up to 10 or more, write the ones digit and carry 1 to the next column. The small red numbers in the picture are the carries.
Two facts do most of the work: a carry is only ever 0 or 1, and if the answer is one digit longer than the numbers being added, its first digit is 1.
- The biggest a column can be is 9 + 9 + 1 = 19.Two digits at most 9 each, plus a carry of at most 1.
- 19 is less than 20, so the carry out is at most 1.Carry out = how many tens the column total has.
- If a new front digit appears, it can only come from the last carry, so it is 0 or 1.
- A number does not start with 0, so the new front digit is 1.
- Hence proved: the carry is 0 or 1, and the extra leading digit is 1.
Zero and nine: the same-letter rule
Sometimes a column shows a letter that comes out unchanged: X + Y = X. What must Y be?
If no carry came in, Y adds nothing, so Y = 0. If a carry of 1 came in and the column still ends in X, Y must be 9 and the column carries 1 out.
- Column rule: X + Y + c = X + 10d, where c is the carry in and d the carry out.Previous section.
- Take X away from both sides: Y + c = 10d.
- Y + c is between 0 and 10. If d = 0 then Y + c = 0, so Y = 0 and c = 0.
- If d = 1 then Y + c = 10. Y is at most 9, so c = 1 and Y = 9.
- X + X = 2X, and 2X or 2X - 10 is even, so the digit written is even.
- Hence proved.
Multiplication endings
For multiplication puzzles, look at the last digit first. The last digit of a product depends only on the last digits you multiply.
There are only 10 digits, so we can list every case. The table is the proof: nothing is left out.
| Digit d | d × d | Ends in |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 2 | 4 | 4 |
| 3 | 9 | 9 |
| 4 | 16 | 6 |
| 5 | 25 | 5 |
| 6 | 36 | 6 |
| 7 | 49 | 9 |
| 8 | 64 | 4 |
| 9 | 81 | 1 |
- The last digit of a product comes only from the last digits multiplied.The tens and above only add whole tens.
- So check d × d for d = 0 to 9 (the table).Only 10 cases, all listed.
- The endings column shows d only for 0, 1, 5, 6, and never shows 2, 3, 7 or 8.Read down the table.
- Hence proved.
Subtraction-based puzzles and letter-digit substitution
Subtraction puzzles are easier if you flip them into additions: A - B = C is the same as C + B = A. Then every addition rule works.
Alphanumeric puzzles mix digits and letters: 5A + B3 = 91 means (50 + A) + (10B + 3) = 91.
- Subtraction asks: what do I add to B to get A?That is what minus means.
- So if A - B = C, then C + B = A, and the other way round.
- A borrow in subtraction is just the carry in the flipped addition.Borrowing 10 = carrying 1.
- Hence proved: every subtraction puzzle is an addition puzzle.
Putting it together: SEND + MORE = MONEY
Now use every rule on the famous puzzle. Each move below is forced by a rule proved above, so there is no guessing until the very end, and even then only a few digits are left to try.
Red numbers are the carries. Check the finished sum at the end: 9567 + 1085 = 10652.
- M = 1: the answer has one more digit than SEND and MORE.Carry rule.
- Thousands: S + 1 + carry = 10 + O. O cannot be 1 (M is 1), so O = 0 and S = 9 (or 8 with a carry; that fails later).Carry rule.
- Hundreds: E + 0 + carry = N. N is not E, so the carry is 1 and N = E + 1.Same-letter rule.
- Tens: N + R + carry = E + 10. Put N = E + 1: R + carry = 9, so R = 8 (9 is taken by S).Same-letter rule, nine case.
- Units: D + E = Y + 10. Trying the free digits gives E = 5, N = 6, D = 7, Y = 2.Only a few digits are left.
- 9567 + 1085 = 10652. Every column checks. Hence proved.
Rule sheet: every rule on one page
All the rules from today in one table. Use it as a checklist: go down the list and ask 'does this rule tell me anything about my puzzle?'
| Rule | What it says | Proved in |
|---|---|---|
| Place value | AB = 10A + B, ABC = 100A + 10B + C | Place value |
| Reversed sum | AB + BA = 11(A + B) | Place value |
| Reversed difference | AB - BA = 9(A - B), ABC - CBA = 99(A - C) | Place value |
| Carry | Adding two numbers, every carry is 0 or 1 | Carries |
| Leading 1 | Answer one digit longer → its first letter is 1 | Carries |
| No leading 0 | The first letter of any number is not 0 | Carries |
| Zero rule | X + Y = X, no carry in → Y = 0 | Zero and nine |
| Nine rule | X + Y + 1 ends in X → Y = 9, carry out 1 | Zero and nine |
| Even rule | X + X always ends in an even digit | Zero and nine |
| Same ending | d × d ends in d only for 0, 1, 5, 6 | Multiplication endings |
| Square endings | Squares end in 0, 1, 4, 5, 6, 9 only | Multiplication endings |
| Flip | A - B = C is C + B = A | Subtraction |
| Three rows | Adding three numbers, a carry can be 2 | This sheet |
- Rows 1 to 12 are proved in the sections above.
- Three rows: the biggest column is 9 + 9 + 9 + carry. With a carry of at most 2 that is 29, so the next carry is at most 2.Two rows gave 19, so a carry of 1.
- 0 + 1 + ... + 9 = 9 × 10 / 2 = 45.Sum of the first n numbers.
- Hence proved.
- AB + BA = 11(A + B).Place value.
- 11(A + B) = 121, so A + B = 11.