Letters for Digits: Puzzles and Logic
From the NUMBER PLAY curriculum
Letters for Digits: Puzzles and Logic
TL;DR
Letters for Digits puzzles, also known as cryptarithmetic, involve replacing letters with unique digits to make a math equation true. You'll use logic, number properties, and some trial-and-error to crack these codes. The goal is to find a unique digit for each letter, ensuring the arithmetic works out correctly.
1. The Mental Model
Think of these puzzles as a secret code where each letter hides a different number. Your job is to break that code. You're like a detective, using clues from the math problem to figure out which number each letter stands for.
2. The Core Material
Letters for Digits puzzles present an arithmetic problem where letters stand in for digits. The main rules are:
1. Each letter represents a unique digit (0-9).
2. No number can start with zero (e.g., if 'A' is the first letter of a multi-digit number, A cannot be 0).
3. The arithmetic (addition, subtraction, multiplication) must be correct.
These puzzles are solved through a combination of logical deduction and strategic trial-and-error.
### Deductive Reasoning: Starting Strong

Photo by Ann H on Pexels
The most powerful way to begin is by looking for immediate clues.
- Look for carries: In addition, if you add two single-digit numbers, the sum can't be more than 18 (9+9). If you add three, it's max 27 (9+9+9). This tells you a lot about possible carry-overs to the next column. For example, in
AB + CD = EF, ifAandCare single digits andEis a single digit, thenEcould beA + CorA + C + carry-in. If the result has one more digit than the addends, the leftmost digit must be a carry-over, often '1'.- Example:
SEND + MORE = MONEY.MinMONEYmust be '1' because it's a carry-over fromS + M(orS + M + carry) in the hundreds column.
- Example:
- Analyze the leftmost digits: As seen above, the first digit of a number cannot be zero. This is a crucial constraint.
- Identify simple operations:
A + A = B: This meansBmust be an even number.A + B = A: This impliesBmust be 0 (orB + carry = 0, meaningBis 9 with a carry-in of 1).A + 0 = AA * 0 = 0A * 1 = AA * 5will always end in0or5.
- Parity (Even/Odd): Sometimes the sum or product of numbers can tell you if a digit is even or odd.
### Strategic Trial-and-Error

Photo by Jahra Tasfia Reza on Pexels
Once you've exhausted direct deductions, you'll need to start testing possibilities.
1. Prioritize letters with few options: If a letter can only be 0 or 1, try those first.
2. Make temporary assignments: Jot down your guesses.
3. Check for conflicts: Does your guess for one letter make another part of the puzzle impossible? Does it violate the unique digit rule?
4. Backtrack: If a guess leads to a contradiction, undo it and try the next possibility.
graph TD
A["Start Puzzle"] --> B{"Any obvious deductions? (e.g., carries, leading zeros)"}
B -- "Yes" --> C["Apply deductions (assign digits, narrow possibilities)"]
C --> D{"All letters assigned?"}
D -- "No" --> E{"Are there letters with limited options remaining?"}
E -- "Yes" --> F["Select a letter; try one of its remaining possible digits"]
F --> G{"Check if this assignment creates contradictions (e.g., duplicate digits, impossible arithmetic)"}
G -- "No conflicts" --> C
G -- "Conflicts found" --> H["Backtrack: Undo assignment; try next possible digit for that letter"]
H --> F
E -- "No (many options for all remaining)" --> I["Choose a letter; make an educated guess"]
I --> G
D -- "Yes" --> J{"Does the arithmetic equation hold true with all assigned digits?"}
J -- "Yes" --> K["Solution Found!"]
J -- "No" --> H
3. Worked Example
Let's solve the classic:
SEND + MORE = MONEY
-
M must be 1: In the addition of
S+M(thousands column),MONEYhas one more digit thanSENDorMORE. This means there must have been a carry-over, andMis the carried digit. So,M = 1. -
S must be 8 or 9: Since
Mis 1, andS + M(plus any carry fromE+O) results inMO(which is1O),S + 1 (+ carry)must be at least10. IfSwere 7 or less, even with a carry of 1,S+1+1would be9or less, makingMnot 1. SoSis 8 or 9.
Also,S+M(orS + M + carry_EON) leads toMO. SinceMis 1, andS + 1needs to generate a carry of 1,Smust be9to make9 + 1 = 10(if there's no carry-in from E+O). OrSis8if there is a carry-in (8+1+1=10). We'll assumeS=9for now, meaningO=0(from9+1=10, soOinMONEYis 0 and we carry 1 to the next column). IfS=8, thenO=0as well (8+1+1=10). This meansO=0is a very strong candidate. -
O must be 0: From step 2, if
S=9andM=1, thenS + M + (carry from E+O)producesMO.9 + 1 + (carry)means10 + (carry). For the result to beMONEYstarting with10...,Omust be 0. So,O = 0. -
E and N: Look at the column
E + O = N(with a potential carry-in fromN+Rand a potential carry-out). We knowO = 0. SoE + 0 + (carry from N+R)results inN.
If there's no carry-in fromN+R, thenE = N. But letters must be unique. So there must be a carry-in fromN+RtoE+O. This meansE + 0 + 1 = N, orE + 1 = N. This implies thatNis one greater thanE. -
N and R:
N + R = E(orE+10if there's a carry-out to theE+Ocolumn). There was a carry-out toE+O(from step 4). SoN + R = E + 10. -
D and E:
D + E = Y(orY+10if there's a carry to theN+Rcolumn). There was a carry to theN+Rcolumn (from step 5). SoD + E = Y + 10.
Let's list what we have:
M = 1
O = 0
S = 9 (from 9+1=10, O=0, and a carry of 1 to next column)
E + 1 = N (and we carried 1 to the next column)
N + R = E + 10 (since we carried 1 to the E+O column)
D + E = Y + 10 (since we carried 1 to the N+R column)
Remaining digits: 2, 3, 4, 5, 6, 7, 8.
We know E+1=N. Possible pairs for (E, N): (2,3), (3,4), (4,5), (5,6), (6,7), (7,8).
Try E=5. Then N=6.
If E=5, N=6:
N + R = E + 10 becomes 6 + R = 5 + 10, so 6 + R = 15. This means R = 9.
But S is already 9! This combination for E, N, R doesn't work.
Let's retry E+1=N pairs.
Consider N+R=E+10. Since N = E+1, substitute: (E+1) + R = E + 10.
This simplifies to 1 + R = 10, so R = 9.
We already assigned S=9. So R cannot be 9. This means our assumption S=9 (meaning S+1=10) was wrong.
This indicates there must have been a carry-in to the S+M column!
Let's re-evaluate S:
S + M + carry_from_EON = MO
S + 1 + 1 (carry from E+O=N) = 10 + O
S + 2 = 10 + O
Since O=0, then S + 2 = 10, so S = 8.
So, revised assignments:
M = 1
O = 0
S = 8 (because there was a carry-in from E+O=N column)
Now we have E + 1 = N (still true, and carry to S column is 1)
And N + R = E + 10 (still true, and carry to E column is 1)
And D + E = Y + 10 (still true, and carry to N column is
Frequently asked about Letters for Digits: Puzzles and Logic
More from NUMBER PLAY
Get the full NUMBER PLAY curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Create Free Account