Showing posts with label elitmus cryptarithmetic solutions. Show all posts
Showing posts with label elitmus cryptarithmetic solutions. Show all posts

Friday, 16 August 2013

Multiplication Cryptarithmetic Puzzle - 4


Three Posts you have to check before continuing reading this:

Elitmus pH Test Pattern & Syllabus

Tips For Elitmus Test

Tips To Solve Cryptarithmetic Puzzles

The puzzle that we will be solving today looks something like this,


W H Y * N U T
--------------------
        O O N P
      O Y P Y +
  O U H A + +
--------------------
 O N E P O P


Follow the steps to solve the above puzzle:

Step 1: The term (W H Y)* U = O Y P Y, we can guess that U=6 and Y=2,4,8. Whenever there are more than one occurence of the same character in these kind of problems, Y is usually 4(No all the times though). So let us take y=4 as proceed to see if the assumption is correct.

 W H 4 * N 6 T
--------------------
        O O N P
      O 4 P 4 +
  O 6 H A + +
--------------------
 O N E P O P

Step 2: Looking at the sum term, O+6=N, and also since there is no carry from this sum to the next term, we conclude that N<=9, and as a result O could be 1/2/3. Considering O=1 as proceeding we get,

 W H 4 * N 6 T
--------------------
        1 1 N P
      1 4 P 4 +
  1 6 H A + +
--------------------
 1 N E P 1 P


Step 3: Now looking at the term N+4=1, we can easily guess that N=7, since there is no carry being carried to this term from P(which is the previous term). Rewriting with N=7 would yield,

 W H 4 * 7 6 T
--------------------
         1 1 7 P
      1 4 P 4 +
  1 6 H A + +
--------------------
 1 7 E P 1 P


Step 4: Looking at the product term (W H 4)*7, we can guess that, A=8. And since the last term in all the sum term of individual products (i.e. "1 1 7 P", "1 4 P 4", "1 6 H A") is always 1, the minimum value W can take is 2. So considering W=2, we get

  2 H 4 * 7 6 T
--------------------
         1 1 7 P
      1 4 P 4 +
  1 6 H 8 + +
--------------------
 1 7 E P 1 P

Step 5: Looking at the product term, (2 H 4)* T = 1 1 7 P, we can guess that T=5, since (2 H 4)*T = 1 1 7 P. And, further it is safe to assume P=0, since (2 H 4)*T(=5). Rewriting we get,

  2 H 4 * 7 6 5
--------------------
         1 1 7 0
      1 4 0 4 +
  1 6 H 8 + +
--------------------
 1 7 E 0 1 0

Step 6: Now, (2 H 4)*5=1 1 7 0, we find H to be 3, and hence E turns out to be 9 (1+4+3+carry_of_1=E). This gives us the solution of,

2 3 4 * 7 6 5
--------------------
         1 1 7 0
      1 4 0 4 +
  1 6 3 8 + +
--------------------
 1 7 9 0 1 0

which is the required result.


Follow us on G+, Twitter. Or you chose to get updates of the new posts by entering your email in the Follow By Email field as well.

Feel free to share if you found this helpful.

More to come soon...


Also Check out:

Solved Questions asked in eLitmus


Multiplication Cryptarithmetic Puzzle - 3

Three Posts you have to check before continuing reading this:

Elitmus pH Test Pattern & Syllabus

Tips For Elitmus Test

Tips To Solve Cryptarithmetic Puzzles

The puzzle that we will be solving today looks something like this,


S U J * Q M N
---------------
        M A T M
      J Q  J  J +
  U T S U +  +
---------------
 U M S T A M


Follow the steps to solve the above puzzle:

Step 1: Look at the individual product term (S U J) * M = J Q J J. If you would have gone through the previous posts, you would guess the value of M=6 and J=2 or 4 or 8. Considering J as 2 and rewriting the puzzle we get,


S U 2 * Q 6 N

---------------

          6 A T 6
      2 Q 2  2 +
  U T S U +  +
---------------
  U 6 S T A 6

Step 2: Now (S U 2) * N = 6 A T 6, hence, N=3, 8. Let us assume N=3. Looking at the sum term 2+T=6, it is safe to assume that T=3 since a carry is most probably generated. But T cannot be 3, since N is already 3. So the assumption of N=3 is wrong.
Now assume N= 8 and T=3(as explained above) and rewriting we get,


S U * Q 6 8

---------------

          6 A 3 6
      2  2 +
  U 3 S U  +  +

---------------

  U 6 S 3 A 6

Step 3: It is easy to note that A = 3+2 =5, also A+2+U = 3  i.e. 5+2+U=3, hence U=6. However, M is already 6. Hence the assumption of J=2 is not correct. Now assume J=4 as rewriting the equation we get,


S U 4 * Q 6 N

---------------

          6 A T 6
      4 Q 4  4 +
  U T S U +  +
---------------
  U 6 S T A 6

Step 4: (S U 4)*N = 6 A T 6, gives N=9. And the sum term 4+T+carry=6. Hence T=1. And T+4=A, i.e. A=5. Rewriting, we get



S U 4 * Q 6 9
---------------
           6 5 1 6
       4 Q 4 4 +
   U 1 S U + +

---------------

  U 6  S 1 5 6

Step 5: The sum term, 5+4+U=1, which gives U=2. Therefore,

 S 2 4 * Q 6 9

---------------


           6 5 1 6
       4 Q 4 4 +
    2 1 S 2 + +

---------------

    2 6 S 1 5 6

Step 6: Now, (S 2 4)*9 = 6 5 1 6, gives S=7. And 6+Q+S=S i.e. 6+Q+7=7, gives Q=3. Therefore,



 7 2 4 * 3 6 9

---------------
           6 5 1 6
       4 3 4 4 +
    2 1 7 2 + +

---------------

    2 6 7 1 5 6

is the required solution.


Follow us on G+, Twitter. Or you chose to get updates of the new posts by entering your email in the Follow By Email field as well.

Feel free to share if you found this helpful.





Also Check out:

Multiplication Cryptarithmetic Puzzle - 4

Solved Questions asked in eLitmus

Thursday, 15 August 2013

Multiplication Cryptarithmetic Puzzle - 2


Three Posts you have to check before continuing reading this:

Elitmus pH Test Pattern & Syllabus

Tips For Elitmus Test

Tips To Solve Cryptarithmetic Puzzles

The puzzle that we will be solving today looks something like this,


G A S * F B I
---------------
         F T B I
     S S T B +
 S A S F +  +
---------------
 S R I S T I


Follow the steps to solve the above puzzle:

Step 1: Look for '0' or '1' in the Multiplier(F B I), sadly we do not find one.

Step 2: Now look at the last terms in each of the individual products of this puzzle, F T B I, S S T B and S A S F, it is clear that 'S=1' (Because, any other odd number will not give the same value when multiplied to it.) Now our cryptarithmetic problem will look something like this(I've bolded the I's just to differentiate from the 1's),

G A 1 * F B I
---------------
         F T B I
     1 1 T B +
 1 A 1 F +  +
---------------
 1 R I 1 T I


Step 3: This step is the most important step in this problem, if you recognize this, you have done a great job. In the product term, G A 1 * F - -, F*1=F and there will be no carry which is a well known fact. Now, if you look at the product (- A -) * F = 1 A 1 F, you will guess that, F * A leads to a product of 21(because there is 1 in the second term of the resulting product of the considered section of the puzzle, and of course no carry from the previous product term.). Now, it is not a Rocket Science to guess that F, A should be 3, 7 or 7, 3. Let us assume that F=3 and A=7, and proceed,

G 7 1 * 3 B I
---------------
        3 T B I
     1 1 T B +
  1 7 1 3 +  +
---------------
 1 R I 1 T I


Step 4: Now, looking at the term (G 7 1) * 3 = 1 7 1 3, we can easily make out that G=5. Hence our puzzle will look like,

5 7 1 * 3 B I
---------------
        3 T B I
     1 1 T B +
  1 7 1 3 +  +
---------------
 1 R I 1 T I

Step 5: Notice that R=8, which is pretty straightforward, since there is no carry coming through. I, will either be 5 or 6, depending on whether a carry is coming through or not. Since, A is already 5, I is 6. Hence the puzzle will look like,

5 7 1 * 3 B 6
---------------
        3 T B 6
     1 1 T B +
  1 7 1 3 +  +
---------------
 1 8 6 1 T 6

Step 6: Looking at the product term (5 7 1) * - - 6 = 3 T B 6, we find that 5 7 1 * 6 = 3 4 2 6, we can easily say that, T=4 and B=2. And hence, we have completed solving this cryptarithmetic problem.

5 7 1 * 3 2 6
---------------
        3 4 2 6
     1 1 4 2 +
  1 7 1 3 +  +
---------------
 1 8 6 1 4 6


Follow us on G+, Twitter. Or you chose to get updates of the new posts by entering your email in the Follow By Email field as well.

Feel free to share if you found this helpful.


Also Check out:


Multiplication Cryptarithmetic Puzzle - 3


Solved Questions asked in eLitmus

Friday, 19 July 2013

Multiplication Cryptarithmetic Puzzle - 1

Three Posts you have to check before continuing reading this:

Elitmus pH Test Pattern & Syllabus

Tips For Elitmus Test

Tips To Solve Cryptarithmetic Puzzles

Cryptarithmetic puzzles/problems are as sure as death in Elitmus pH test, and will fetch you around 30-40 marks if you get them right. Most of the people do not solve this or try to solve them and end up wasting their precious time. But hey, do not worry I will let you know how to effectively solve these kind of puzzles.

These problems are accompanied by 3 to 4 questions, so even if you take 20 minutes to successfully solve these kind of problems, I will assure you, you have done a great job. Because getting around 8-9 right in this section i.e. the Reasoning  section, will easily fetch you 85+ percentile in the pH test.

Before continuing with this post make sure you have read the previous post on Cryptarithmetic Puzzles, in which you would find some invaluable tips in how to begin solving these kind of puzzles.

So this was the puzzle asked when I took the test:

E Y E * M A T
--------------
         S Y I A
    G M T A +
 A I R Y +  +
--------------
 A A S M A A

Follow the steps to solve the above puzzle:

Step 1: Look for '0' or '1' in the Multiplier(M A T), sadly we do not find one.

Step 2: Now, look at the product term of E Y E * - A - = G M T A. If you have gone through the previous post, you will guess that 'E' is either 1 or 6. Since it is not 1, it should be 6. And 'A' should be an even number and hence it should be 2,4,8. Considering 'A' as 2 and rewriting the multiplication we get,

6 Y 6 * M 2 T
--------------
        S Y I 2
    G M T 2 +
  2 I R Y  + +
--------------
 2 2 S M 2 2


Step 3: Now looking at the sum in the 2nd column form the right i.e.  'I + 2 = 2', we can conclude that 'I' = 0, since there is no carry. Rewriting it would yield us,

6 Y 6 * M 2 T
--------------
        S Y 0 2
    G M T 2 +
  2 0 R Y + +
--------------
2 2 S M 2 2


Step 4: Further, looking at the sum in the 2nd column form the left i.e. 'G + 0 = 2', we can conclude that 'G' is either 1 or 0, since we already have 'I' = 0, 'G' has to be 1. Rewriting it we would have,

6 Y 6 * M 2 T
--------------
        S Y 0 2
    1 M T 2 +
 2 0 R Y + +
--------------
 2 2 S M 2 2


Step 5: Now looking at the product 6 Y 6 * M = 2 0 R Y, we can conclude that 'M' = 3. since (6 * M + carry) = 20, and the only value that seems to satisfy that equation is 3. Rewriting this would yield us,

6 Y 6 * 3 2 T
--------------
        S Y 0 2
      1 3 T 2 +
  2 0 R Y + +
--------------
 2 2 S 3 2 2

Step 6: If we look at the product term 6 Y 6 * 3 = 2 0 R Y, we can easily figure out 'Y' to be 8, so rewriting the puzzle would give us,


6 8 6 * 3 2 T
--------------
        S 8 0 2
     1 3 T 2 +
  2 0 R 8 + +
--------------
 2 2 S 3 2 2


Step 7: Now, the sum term 8 + T + 8 = 3 helps us to find out the value of 'T', yeah it is 7. How? Well there is no carry and the sum has to be 23, since no number is greater than 9 (You could aslo find out the value of 'T' from the product 686*2 as well.) We will get

6 8 6 * 3 2 7
--------------
        S 8 0 2
     1 3 7 2 +
 2 0 R 8 + +
--------------
 2 2 S 3 2 2


Step 8: This step is just a formality, since we got to know the values of the Multiplicand and the multiplier, it is a piece of cake to find out the rest of the values. And they happen to be,

6 8 6 * 3 2 7
--------------
        4 8 0 2
     1 3 7 2 +
  2 0 5 8 + +
--------------
 2 2 4 3 2 2

This is it. I know these are too many steps, but yeah practice makes man perfect, so do practice and become a pro in solving such kind of puzzles.



Follow us on G+, Twitter. Or you chose to get updates of the new posts by entering your email in the Follow By Email field as well.
Feel free to share if you found this helpful.



Check out:

Multiplication Cryptarithmetic Puzzle - 2


Also Check out:

Solved Questions asked in eLitmus

Thursday, 4 July 2013

How To Solve Cryptarithmetic Puzzles

In Case You Haven't Checked These Out:

Elitmus pH Test Pattern & Syllabus

Tips For Elitmus Test


Cryptarithmetic, also known as alphametics, cryptarithmetic, Verbal Arithmetic, cryptarithm or word addition, 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 name can be extended to puzzles that use non-alphabetic symbols instead of letters.

The equation is typically a basic operation of arithmetic, such as addition, multiplication, or division. 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.

Yeah, yeah that was not a tip. The points that follow are the tips that you are looking for:

Cryptarithmetic Conventions:

  1. Each letter or symbol represents only one digit throughout the problem;
  2. When letters are replaced by their digits, the resultant arithmetical operation must be correct;
  3. The numerical base, unless specifically stated, is 10;
  4. Numbers must not begin with a zero;
  5. There must be only one solution to the problem.

Subtractions = Upside Down Addition:

Subtraction cyrptarithmetic puzzles are nothing but Upside Down Additions. To make this clear, consider the same example mentioned above, except that it is converted to a subtraction cryptarithmetic puzzle:
  
M O N E Y
-   S E N D
-------------   

    M O R E

Hope I made it clear.

Look for "0" and "9" in Additions or Subtractions:

A good hint to find zero or 9 is to look for columns containing two or three identical letters.

Look at these additions:

     * * * A            * * * B
  + * * * A         + * * * A
     -------              -------
     * * * A            * * * B
The columns A+A=A and B+A=B indicate that A=zero. In math this is called the "additive identity property of zero"; it says that you add "0" to anything and it doesn't change, therefore it stays the same.
Now look at those same additions in the body of the cryptarithm:

      * A * *             * B * *
  + * A * *         +  * A * *
       -------             -------
      * A * *             * B * *
In these cases, we may have A=zero or A=9. It depends whether or not "carry 1" is received from the previous column. In other words, the "9" mimics zero every time it gets a carry-over of "1".

Search for "1" in additions or subtractions


Look for left hand digits. If single, they are probably "1".

Take the world's most famous cryptarithm:

             S E N D
         + M O R E
         ---------
         M O N E Y
"M" can only equal 1, because it is the "carry 1" from the column S+M=O (+10). In other words, every time an addition of "n" digits gives a total of "n+1" digits, the left hand digit of the total must be "1".
In this Madachy's subtraction problem, "C" stands for the digit "1":

         C O U N T
         -   C O I N
            ---------
             S N U B

Search for "1" in multiplications or divisions


In this multiplication:

           M A D
           x  B E
           -------
           M A D
           R A E
           -------
         A M I D
The first partial product is E x MAD = MAD. Hence "E" must equal "1". In math jargon this is called the "identity" property of "1" in multiplication; you multiply anything by "1" and it doesn't change, therefore it remains the same.
Look this division:

               K T
               --------
     N E T / L I N K
                   N E T
                  -------
                K E K K
                K T E C
                 -------
                  K E Y
In the first subtraction, we see K x NET = NET. Then K=1.

Search for "1" and "6" in multiplications or divisions


Any number multiplied by "1" is the number itself. Also, any even number multiplied by "6" is the number itself:

         4 x 1 = 4
         7 x 1 = 7
         2 x 6 = 2 (+10)
         8 x 6 = 8 (+40)         
Looking at right hand digits of multiplications and divisions, can help you spot digits "1" and "6". Those findings will show like these ones:
                               C B
                              ----------
     * * A        * * A / * * * * *
       B C                     * * * C
    ------                    ---------
   * * * C                    * * * *
 * * * B                      * * * B
 ---------                    -------
 * * * * *                     * * *
The logic is: if
   C  x  * * A  =  * * * C 
   B  x  * * A  =  * * * B
then A=1 or A=6.

Search for "0" and "5" in multiplications or divisions


Any number multiplied by zero is zero. Also, any odd number multiplied by "5" is "5":

          3 x 0 = 0
          6 x 0 = 0
          7 x 5 = 5 (+30)
          9 x 5 = 5 (+40)         
Looking at right hand digits of multiplications and divisions, can help you spot digits "0" and "5". Those findings will show like these ones:
                              C B
                            ----------
    * * A        * * A / * * * * *
      B C                     * * * A
  -------                    ---------
  * * * A                    * * * *
  * * * A                    * * * A
---------                    -------
* * * * *                     * * *
The logic is: if
   C  x  * * A  =  * * * A 
   B  x  * * A  =  * * * A
then A=0 or A=5

Match to make progress


Matching is the process of assigning potential values to a variable and testing whether they match the current state of the problem.

To see how this works, let's attack this long-hand division:

                K M
                ----------
    A K A / D A D D Y
                   D Y N A
                    ---------
                    A R M Y
                    A R K A
                     -------
                         R A
To facilitate the analysis, let's break it down to its basic components, i.e., 2 multiplications and 2 subtractions:
  I.   K  x  A K A = D Y N A
  
  II.  M  x  A K A = A R K A
   
  III.        D A D D 
            - D Y N A
               ---------
                A R M  
  IV.         A R M Y
            -  A R K A
               ---------
                  R A
From I and II we get:
   K  x  * * A  =  * * * A
   M  x  * * A  =  * * * A
This pattern suggests A=0 or A=5. But a look at the divisor "A K A" reveals that A=0 is impossible, because leading letters cannot be zero. Hence A=5.
Replacing all A's with "5", subtraction IV becomes:

          5 R M Y
        - 5 R K 5
        ---------
              R 5
From column Y-5=5 we get Y=0.
Replacing all Y's with zero, multiplication I will be:
   K  x  5 K 5  = D 0 N 5
Now, matching can help us make some progress. Digits 1, 2, 3, 4, 6, 7, 8 and 9 are still unidentified. Let's assign all these values to the variable K, one by one, and check which of them matches the above pattern.
Tabulating all data, we would come to:
                           K  x  5K5  =  D0N5
                          ----------------------
                           1     515      515
                           2     525     1050
                           3     535     1605
                           4     545     2180
                           6     565     3390
      SOLUTION --> 7     575     4025 <-- SOLUTION 
                           8     585     4680
                           9     595     5355
                        ----------------------
You can see that K=7 is the only viable solution that matches the current pattern of multiplication I, yielding:
   K  x  A K A  =  D Y N A
   7        5 7 5         4 0 2 5
This solution also identifies two other variables: D=4 and N=2.

When stuck, generate-and-test


Usually we start solving a cryptarithm by searching for 0, 1, and 9. Then if we are dealing with an easy problem there is enough material to proceed decoding the other digits until a solution is found.

This is the exception and not the rule. Most frequently after decoding 1 or 2 letters (and sometimes none) you get stuck. To make progress we must apply the generate-and-test method, which consists of the following procedures:

1. List all digits still unidentified;
2. Select a base variable (letter) to start generation;
3. Do a cycle of generation and testing: from the list of still unidentified digits (procedure 1) get one and assign it to the base variable; eliminate it from the list; proceed guessing values for the other variables; test consistency; if not consistent, go to perform the next cycle (procedure 3); if consistent, stop: you have found the solution to the problem.
To demonstrate how this method works, let's tackle this J. A. H. Hunter's addition:

            T A K E
                     A
       +  C A K E
           ----------
            K A T E
The column AAA suggests A=0 or A=9.
But column EAEE indicates that A+E=10, hence the only acceptable value for "A" is 9, with E=1.
Replacing all "A's" with 9 and all "E's" with 1, we get
            T 9 K 1
                     9
       +  C 9 K 1
         ----------
           K 9 T 1
Letter repetition in columns KKT and TCK allows us to set up the following algebraic system of equations:
       C1 + K + K = T + 10
       C3 + T + C = K         
Obviously C1=1 and C3=1. Solving the equation system we get K+C=8: not much, but we discovered a relationship between the values of "K" and "C" that will help us later. 
But now we are stuck! It's time to use the "generate-and-test" method.
Procedure 1: digits 2,3,4,5,6,7 and 8 are still unidentified;

Procedure 2: we select "K" as the base variable;

CYCLE #1, procedure 3: column TCK shows that T+C=K and no carry, hence "K" must be a high valued digit. So we enter the list obtained through procedure 1 from the high side, assigning "8" to the base variable "K".

Knowing that K+C=8, if K=8 then C=0. But this is an unacceptable value for "C", because the addend "CAKE" would become "0981" and cryptarithmetic conventions say that no number can start with zero. So, we must close this cycle and begin cycle #2.

By now, the addition layout and the table summarizing current variable data would look like this:

    T 9 8 1   CYCLE  A   E   K   C   T
            9   ========================
+  0 9 8 1    #1    9   1   8  [0]
----------
    8 9 T 1
Conflicting values for variables are noted within square brackets.
CYCLE #2, procedure 3: assigning "7" to the letter "K" we get C=1 because K+C=8. This is an unacceptable value for "C" considering that we have already fixed E=1. Again we have to close the current cycle and go to cycle #3, with the setup and table showing:

    T 9 7 1   CYCLE  A   E   K   C   T
            9   ========================
+  1 9 7 1    #1    9   1   8  [0]
----------     #2    9   1   7  [1]
    7 9 T 1
CYCLE #3, procedure 3: assigning "6" to the letter "K" we get C=2 because K+C=8. Testing these values for "K" and "C" in the column TCK, we get C3+T+2+=6 making T=3.
Now, testing T in column KKT, we would obtain C1+K+K=T+10 or 1+6+6=T+10, making T=3. This is an acceptable value for T, confirming the previous value T=3 we had already found.

So, we have got the final solution to the problem, stopping the routine "generate-and-test".

The final layout and table would read

    3 9 6 1   CYCLE  A   E   K   C   T
            9   ========================
+  2 9 6 1     #1    9   1   8  [0]
----------      #2    9   1   7  [1]
    6 9 3 1    #3    9   1    6   2   3    


We will see some typical cryptarithmetic puzzles which were asked in the Elitmus test.

You can find the solved example of a cryptarithm asked in elitmus below:

Multiplication Cryptarithmetic Puzzle - 1


Solved Questions asked in eLitmus