Math Lab
Home/Class VII/Ch 6/Cryptarithms

Cryptarithms

A cryptarithm is an arithmetic problem where digits have been disguised as letters. The classic example is: SEND+MORE=MONEY.\text{SEND} + \text{MORE} = \text{MONEY}.

Each letter stands for one digit; the same letter is the same digit everywhere; different letters are different digits. The puzzle is to figure out what each letter is.

Idea

Cryptarithms are solved by patient logical reasoning, not random trial. Here are the common tools:

  • First digit cannot be 00. So in MONEY\text{MONEY}, M0M \neq 0.
  • Carries are tiny. Adding two single digits gives at most 1919, so a column generates a carry of 00 or 11 (or 22 when adding three).
  • Use columns from the right. The units column is independent of all the others. Solve it first, then move left.
  • Constraint of distinct digits. Once a digit is fixed, no other letter can use it.

For example, in the simpler puzzle ABC+ABC=BCC,\text{ABC} + \text{ABC} = \text{BCC}, the units column says C+CC + C ends in CC, so C=0C = 0. Then B+B=C=0B + B = C = 0 (with carry), so B+B=10B + B = 10, B=5B = 5. Etc.

The thrill: when the last column is solved, every letter snaps into place.

Some cryptarithms allow multiple solutions; others have exactly one. A good puzzle always has just one.

Worked examples

Example 1. Solve A+A=BA\text{A} + \text{A} = \text{BA}, where letters are different digits.

Units: A+A=A+10carryA + A = A + 10 \cdot \text{carry}. For the units of LHS to match units of RHS (which is AA), we need 2Amod10=A2A \mod 10 = A, so A=0A = 0 or carry happens. If A=0A = 0, no carry, so BA=0\text{BA} = 0 , but BB leads a number so B0B \neq 0. Try carry: 2A=A+102A = A + 10, so A=10A = 10 , impossible. So A=0A = 0 , but then LHS =0= 0, RHS has BB leading, contradiction. Hence no solution. (A good check: the puzzle as stated cannot be satisfied.)

Example 2. AB+BA=CC\text{AB} + \text{BA} = \text{CC}. Find a solution.

LHS =10A+B+10B+A=11(A+B)= 10A + B + 10B + A = 11(A + B). RHS =11C= 11C. So A+B=CA + B = C. Many solutions: A=1,B=2,C=3A=1, B=2, C=3 gives 12+21=3312+21=33 ✓. Or A=2,B=5,C=7A=2, B=5, C=7 gives 25+52=7725+52=77 ✓.

Example 3. Solve ABC+ABC+ABC=BBB\text{ABC} + \text{ABC} + \text{ABC} = \text{BBB}.

LHS =3×ABC=333B÷1= 3 \times \text{ABC} = 333 \cdot B \div 1. So 3(100A+10B+C)=111B3(100A + 10B + C) = 111 B. Simplify: 300A+30B+3C=111B300A+3C=81B300A + 30B + 3C = 111B \Rightarrow 300A + 3C = 81B. Divide by 33: 100A+C=27B100A + C = 27B. With single digits: A=1,B=4,C=8A = 1, B = 4, C = 8 gives 108=108108 = 108 ✓. So ABC=148\text{ABC} = 148. Check: 148×3=444=BBB148 \times 3 = 444 = \text{BBB} ✓.

Example 4. Solve ON+ON+ON=GO\text{ON} + \text{ON} + \text{ON} = \text{GO} (each letter a different digit).

LHS =3×ON=3(10O+N)=30O+3N= 3 \times \text{ON} = 3(10O + N) = 30O + 3N. RHS =10G+O= 10G + O. So 30O+3N=10G+O29O+3N=10G30O + 3N = 10G + O \Rightarrow 29O + 3N = 10G. For GG single-digit, 29O29O must be small; try O=1O = 1: 29+3N=10G3N=10G2929 + 3N = 10G \Rightarrow 3N = 10G - 29. G=4G=4: 3N=113N = 11 no. G=5G=5: 3N=213N=21, N=7N=7. So O=1,N=7,G=5O=1, N=7, G=5. Check: 17+17+17=5117+17+17=51 ✓.

Try it yourself

  1. Solve AB+BA=CC\text{AB} + \text{BA} = \text{CC} with A=3,B=4A=3, B=4. What is CC?
  2. Solve ABCCBA=?\text{ABC} - \text{CBA} = ?. Take A=8,B=2,C=1A=8, B=2, C=1.
  3. Find all single-digit pairs (A,B)(A, B) with A+B=9A + B = 9.
  4. Solve X×3=YX\text{X} \times 3 = \text{YX} (different digits).
  5. Solve TWO+TWO=FOUR\text{TWO} + \text{TWO} = \text{FOUR} (one solution exists; try by columns).
  6. Decode: AA×B=CDD\text{AA} \times \text{B} = \text{CDD} with B=7B = 7.
  7. Solve AB+BC=CA\text{AB} + \text{BC} = \text{CA} for any small example.
  8. Compute ABCABC÷ABC\text{ABCABC} \div \text{ABC}. What letter-puzzle is this?

Activity

Make your own cryptarithm. Take any addition fact, replace each digit with a letter (consistent across the equation), and challenge a friend to decode it.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Cryptarithms
5 questions · pick the best answer
Q1

In AB+BA=CC\text{AB}+\text{BA}=\text{CC}, with A=3,B=4A=3, B=4: C=C=

Q2

ABC+ABC+ABC=BBB\text{ABC}+\text{ABC}+\text{ABC}=\text{BBB} has solution:

Q3

Leading digit of any number cannot be:

Q4

ON+ON+ON=GO\text{ON}+\text{ON}+\text{ON}=\text{GO} has solution:

Q5

AB+BA=CC\text{AB}+\text{BA}=\text{CC} tells us: