Alphametics Notes
Alphametics Notes
Alphametics
A cryptarithm is a type of mathematical puzzle in which the digits in a mathematical
equation are substituted by letters or other symbols. In a typical puzzle, the same letter or
symbol always represents the same digit. The objective of the puzzle is to break the code
and determine the digits used that result in a true mathematical equation. Cryptarithms
may have unique solutions or several solutions.
This puzzle appeared in the July 1924 issue of Strand Magazine. This puzzle was made
by the famous puzzlist H. E. Dudeney.
The solution to this puzzle is a bit more involved than one might think. In fact, no two
alphametics, even with the same operation, require the same approach to find the
solution. There are, however, a few observations and standard conventions that can be
applied in problem solving!
Let’s start by defining the alphametic puzzle conventions. There are few basic premises:
Are there specific problem solving techniques that can be used with alphametics? There
is no a set strategy for cracking the code and solving the puzzle! The answer is basic
arithmetic facts, logical reasoning, solving systems of equations and determination and
patience.
1. The operation can sometimes be deduced by the largest place value of the
numbers involved or by considering intermediate steps (if given).
2. Since the digits are 0-9, the largest carry in addition with two summands is a 1.
6. The use of modular arithmetic often helps. For example, use of mod-10 arithmetic
allows the columns of an addition problem to be treated as simultaneous
equations, while the use of mod-2 arithmetic allows inferences based on the parity
of the variables.
Books:
Hunter, J. A., Madachy, Joseph S., “Mathematical Diversions,” Dover, New York, 1975
Web Resources:
There are many web sites as well as puzzle generators and solvers on the web. Search on
“cryptarithm.” Websites used to prepare materials:
http://www.mathematik.uni-
bielefeld.de/~sillke/PUZZLES/ALPHAMETIC/alphametic-mike-keith.html#trad
Let’s try a few! Hint: The first step is to figure out the operation involved!
1) 2) 3)
HE LOSE POSH
HE SEAL CHOP
SHE SALES SHOP
4) 5)
LYNDON D O
B DO ) F L Y
JOHNSON I F
D R Y
D R Y
- - -
Solution Hints/Notes:
1) Multiplication. The answer must be a square number. ANS: HE = 25
2) Notice that this has to be an addition problem because of the leading S in the result. To
solve, note that S must be 1 because there are only two summands. ANS: SALES =
10921, O = zero
3) This must be a subtraction problem. To see this, consider (S+O) mod 10 = 0 and (O+H)
mod 10 = H. If this were addition, these equations would require that S=0 AND H=0
which is not possible. To solve, consider writing the problem as an addition problem!
ANS: SHOP = 5879, C=3
4) This is multiplication. To solve, recall that for K even, K * 6 = K. Consider the carries
and when there must be no carry. ANS: JOHNSON = 3420840, B = 6
5) To solve, first note that D ≤ 3 and D > 1. D = 3 forces I = 9 which is not possible. So, D =
2. Then, O x DO = DRY says that O > 7. Hence, DO = 28 or DO = 29. ANS: DO = 29,
FLY = 841
6) The puzzle is 9 x HENS = 7 x EGGS. ANS: SENSE = 58258