Cryptarithmetic Example
• CAT
• +CAT
• --------
• DOG
• Same word CAT added to itself.
• So in numbers: CAT + CAT = DOG
• That means:
👉 DOG = 2 × CAT
• So we need to find a number for CAT such that:
• When you double it, you get another number (DOG),
• And each letter has its own digit (no repeats across C,A,T,D,O,G).
Why use 314?
• CAT = 314
• 314 + 314 = 628
• Then we can map:
•D=6
•O=2
•G=8
• So, DOG = 628
• Now check:
👉 All digits are different → ✅
👉 Addition is correct → ✅
But… why not some other number?
• We could try other numbers for CAT.
• For example:
• CAT = 123 → 123 + 123 = 246
→ DOG = 246 → now letters map as:
C=1, A=2, T=3, D=2, O=4, G=6 → ❌ A and D both 2 → not allowed
• CAT = 150 → 150 + 150 = 300
→ DOG = 300 → D=3, O=0, G=0 → ❌ O and G both 0
• So many numbers don’t work because:
• The mapping breaks the “all different letters” rule
• Or the digits don’t line up properly
• 314 is just one example that satisfies everything.
Example 2
•AB
• +BA
• ------
• CC
•A, B, C are letters
•Each letter stands for one digit (0–9)
•Same letter → same digit
•Different letters → different digits
• So:
• AB means a two-digit number (like 12, 34,…)
• BA is another two-digit number
• CC is also a two-digit number (like 33, 44,…)
• We want to choose digits for A, B, C so this addition becomes correct.
• Let’s try:
• A= 1
•B=2
•C=3
• Now replace letters with digits:
• AB = 1 2
• + BA = 2 1
• ---------
• CC =33
Check the sum:
12 + 21 ---- 33
✅ 12 + 21 = 33 → This is true
✅ So AB + BA = CC works with
A = 1, B = 2, C = 3