0% found this document useful (0 votes)
34 views

Cryptarithmetic Problem

Crypt arithmetic problem

Uploaded by

Anurag Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Cryptarithmetic Problem

Crypt arithmetic problem

Uploaded by

Anurag Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Solve the following 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

Step 1: As we can see in the problem, we are getting C5 as carry which is


D (C5 = D) and we know, carry will be 0 or 1 only. But as per the rule
number 6, Numbers must not begin with zero hence, D = 1 and C5 = 1.
Here we get,

1 C4 C3 C2 C1

C R O S S

+ R O A 1 S

1 A N G E R

Step 2: Now we can see, S + S = R and we know, the sum of two


numbers are even (1 + 1 = 2, 2 + 2 = 4, ... and so on.)
But here S can’t be 0 and 1 as per the rule no. 2 and 3 which describes
that Each Variable should have unique and distinct value and Each Letter,
Symbol represents only one digit throughout the problem.
1) If we take S = 0 then S (0) + S (0) = 0 i.e. R = 0 means it does not
satisfy the Rule number 1 and 2 hence S is not 0
2) S is not 1 because we have already taken D = 1.
So now Let S = 3 then R = 6, E = 4 and C1 = 0.
Here we get,

1 C4 C3 C2 0

C 6 O 3 3

+ 6 O A 1 3

1 A N G 4 6

Step 3: Now see, C4 + C + 6 = A + 10 here A + 10 represents the carry


generated by adding C + 6 which is D (i.e. 1).
Here we get, C4 + C + 6 = A + 10 because R = 6.
Now, C4 + C > 4 here, C needs to be greater than 5 because we will get
carry as D. So, C can be 6 or 7 or 8 or 9
If we take C = 9 then we get,
C4 + C + R = A +10
C4 + 9 + 6 = A +10
A=5
Here we get,

1 0 C3 C2 0

9 6 O 3 3

+ 6 O 5 1 3

1 5 N G 4 6

Step 4: Now let's find the value of O.


C3 + R + O = N
C3 + 6 + O ≤ 3
O≤3
O can be 0 or 1 or 2 or 3 But we know, 0 is not possible, S = 3 & D = 1
hence O will be 2 i.e. O = 2.
Here we get,
1 0 C3 C2 0

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

Step 5: Putting all the value by their digits.


Now, after replacing letters by their digits, the resulting arithmetic
operations is correct.
Thus, we get the following values for each letter:
Characters Numbers (Codes)
D 1
C 9
R 6
A 5
O 2
N 8
G 7
S 3
E 4
Step 6: Now we get the solution.
The solution of the given cryptarithmetic problem CROSS + ROADS =
DANGER is:
9 6 2 3 3
+ 6 2 5 1 3
1 5 8 7 4 6

You might also like