Cryptarithmetic Problem
Cryptarithmetic Problem
CROSS
+ROADS
DANGER
Solution:
There are some rules, which we have to follow for solving this
Cryptarithmetic Problem:
1. Digit ranges from 0 to 9 only.
2. Each Variable should have unique and distinct value.
3. Each Letter, Symbol represents only one digit throughout the
problem.
4. We have to find the value of each letter in the Cryptarithmetic.
5. The Numerical base, unless specifically stated, is 10.
6. Numbers must not begin with zero i.e. 0123 (wrong), 123 (correct).
7. After replacing letters by their digits, the resulting arithmetic
operations must be correct.
Let C1, C2, C3, C4, C5 will be the carry generated by adding the two
numbers.
C5 C4 C3 C2 C1
C R O S S
+ R O A D S
D A N G E R
1 C4 C3 C2 C1
C R O S S
+ R O A 1 S
1 A N G E R
1 C4 C3 C2 0
C 6 O 3 3
+ 6 O A 1 3
1 A N G 4 6
1 0 C3 C2 0
9 6 O 3 3
+ 6 O 5 1 3
1 5 N G 4 6
9 6 2 3 3
+ 6 2 5 1 3
1 5 N G 4 6
Now,
N = 8 and G = 7
Here we get,
1 0 0 0 0
9 6 2 3 3
+ 6 2 5 1 3
1 5 8 7 4 6