Enter an equation or problem
Camera input is not recognized!

Cryptarithm solver

Cryptarithm solver

Learn more with Tiger

A cryptarithm (or cryptarithmetic puzzle) replaces digits in an arithmetic equation with letters. Each letter stands for a unique digit, and the goal is to find the digit-to-letter mapping that makes the equation true.

Rules

  • Each letter represents exactly one digit (0--9).
  • Different letters represent different digits.
  • Leading digits cannot be zero.

Classic Example: SEND + MORE = MONEY

Solution: S=9,E=5,N=6,D=7,M=1,O=0,R=8,Y=2

Check: 9567+1085=10652 which matches MONEY.

Solution Strategy

  1. Look for carry constraints (e.g., M=1 since the sum of two 4-digit numbers can only produce a 5-digit number starting with 1).
  2. Use column-by-column analysis from rightmost to leftmost.
  3. Apply constraint propagation to narrow possibilities.

Why It Matters

  • Develops systematic problem-solving and constraint satisfaction skills
  • Foundation for understanding CSP (constraint satisfaction problems) in computer science
  • Popular in math competitions and recreational mathematics

Try It

Enter a cryptarithm like SEND+MORE=MONEY or AB+BA=CBC for a step-by-step solution.



Teacher review: Cryptarithm solver

  1. Name the target before calculating so the solver output is easy to compare with your work.
  2. Apply the core rule: assign one digit to each letter and use column arithmetic plus carries to eliminate impossible choices.
  3. Check the result against the original expression or story, not only the final line.

Example

A+A=BC can give 5+5=10, so A=5,B=1,C=0. The result is: A+A=BC can give 5+5=10, so A=5,B=1,C=0. Compare each solver step with the rule above before using the final answer.