Tool/solver to resolve cryptarithms. A Cryptarithm is a numeric puzzle which consists in a mathematical equation in which letters are substituted by digits to recover.
Cryptarithm Solver - dCode
Tag(s) : Number Game, Arithmetics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Tool/solver to resolve cryptarithms. A Cryptarithm is a numeric puzzle which consists in a mathematical equation in which letters are substituted by digits to recover.
Alphametics (also called cryptarithm) solving involves deduction and use of calculation tricks. Usually, remember the rules:
- Each letter can be associated to only one digit and reciprocally each digit can be associated to only one letter
If your calculation do not follow this rule, then use the missing numbers solver.
- Numbers do not have leading zeros
The resolution then goes through the search for particular cases:
- addition/subtraction with 0 or 9
Example: ??A+??A=??A then A is 0
Example: ?A?+?A?=?A? then A is 0 or 9, same for ?A?+?B?=?B? or ??A+??B=??B
- first digits and last digits
Example: ???+???=A??? then A is 1 because it is impossible that the sum of 2 numbers less than 1000 is superior to 1999.
- multiplications by 0, 1 or 5
- multiplications of numbers with n and m digits that create numbers with n + m digits
- divisions by 1 ou 5
Do not hesitate to make attempts when there are few possibilities
dCode cryptarithm solver handles classical mathematical operators like additions + (plus), subtractions - (minus), multiplications * (times) and divisions /. It also handles logical conditions like && = ET, || = OU and also comparators superior and inferior > and <.
The solver takes for unknown between 1 and 10 distinct letters.
Example: A+A=B && B*C=AB is solved with 2+2==4 && 4*6==24
Example: DCODE+CODING=SOLVED => 92095+209764==301859.
This alphametic solver uses brute-force, ie. it tries all combinations of digits and displays the possible ones.
A cryptarithm is a number puzzle representing an arithmetical equation in which some or all of its digits has been replaced by letters or symbols. The goal is to find to which letter is corresponds. Alphametics is also used when the letters forms a real word.
It is the most known example, published in 1924 in Strand Magazine, by Henry Dudeney : S E N D + M O R E = M O N E Y . Solution is O=0, M=1, Y=2, E=5, N=6, D=7, R=8, and S=9.
dCode retains ownership of the source code of the script Cryptarithm Solver online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Cryptarithm Solver script for offline use on PC, iPhone or Android, ask for price quote on contact page !