Verbal arithmetic, also known as alphametics, cryptarithmetic, crypt-arithmetic, or cryptarithm, is a type of mathematical game consisting of a mathematical equation among unknown numbers, whose digits are represented by letters. The goal is to identify the value of each letter.
The equation is typically a basic operation of arithmetic, such as addition or multiplication. The classic example, published in the July 1924 issue of Strand Magazine by Henry Dudeney, is:
S E N D + M O R E = M O N E Y
The solution to this puzzle is O=0, M=1, Y=2, E=5, N=6, D=7, R=8, and S=9.
Traditionally, each letter should represent a different digit, and (as in ordinary arithmetic notation) the leading digit of a multi-digit number must not be zero. The puzzle should have only one solution.
The use of modular arithmetic often helps. In particular, the familiar check of casting out nines can be applied to cryptarithms, too; in the example above, it says that S+E+N+D + M+O+R+E should be equal to M+O+N+E+Y modulo 9, that is, S+E+D+R-Y must be evenly divisible by 9.
In computer science, cryptarithms provide good examples for the backtracking paradigm of algorithm design. They also provide a pedagogical application for algorithms that generate all permutations (reorderings) of n given things.
Mathematisches Rätsel | Cryptarithme | Wiskundige puzzels | 覆面算 | Kriptaritem | 覆面算
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Verbal arithmetic".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world