Answer Of Alphamatic Problem


Here is question!

 First of all let's write down the equation once again.


   ABCABA 
+
   BBDCAA 
+
   ABEABB 
   ABDBAA
-------------------
 AAFGBDH

We will refer to places in number from left as a first, second, third...sixth instead of tenth, hundredth, thousandth etc. 
First we need to find if the 5 digits of first number itself i.e. ABCAB are carries forwarded from previous place.  
From the addition of variable from first place, we get,
3A + B  = 10A + A ........(1)
B  =  8A              ........(2)
Only numbers satisfying above are A = 1 & B = 8 , but at previous place we have addition of 4 B's. If B = 8, then addition at second place would be 32 with F = 2 & carry 3 which is not equal to A = 1. So A can't be a carry. So we need to modify (2) above as

B + x = 8A .........(2)....Where 'x' is carry forwarded from second place.

If B = 1 or 2 then x = 0 as  at second place we would have F = 4 or 8. In that case, A would be fractional. Some other possible combinations for B, A & x are,
B = 9, x = 3,   8A = 12,
B = 8, x = 3,   8A = 10,
B = 7, x = 2,   8A =  9,
B = 6, x = 2,   8A = 8,
This is the only combination that can make A a whole number. So A = 1, B = 6.
---------------------------------------------------------------------------------------------

From sixth place, we have,
H = 3A + B = 9
---------------------------------------------------------------------------------------------

From fifth place, we have,
D = 2A + 2B  = 14

But it has to be single digit i.e. D = 4 with 1 carry forwarded to next.
---------------------------------------------------------------------------------------------

From fourth place,

B = 2A + B + C + 1  .....1 is carry from last place.
6 = 9 + C

Now C can't be negative hence C + 9 has to be 2 digit number with 6 at last digit.Since addition of 2 single digit numbers never exceeds 18, C + 9 has to be 16.

16 = 9 + C 

gives, C = 7 & carry 1 forwarded to third place.

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


From third place,

G = C + E + 2D + 1  .....1 is carry from previous place.

G = 16 + E

In first case,16 + E < 20 if E < 4
10 + G = 16 + E
G - E = 6    .......(3)

In second case,16 + E > 20 if E > 4
20 + G = 16 + E
E - G = 4    .......(4)
But 16 + E >= 30 is not possible if E is single digit number.
Now so far we have got, A = 1, B = 6, C = 7, D = 4, H = 9.  We are left with numbers 2,3,5,8.
Only combination that suits either (3) or (4) is G = 8 & E = 2 that satisfies (3).
So at third place we have, 16 + 2 = 18, with G = 8 & carry 1 forwarded to next.
---------------------------------------------------------------------------------------

From second place, we have,
F = 4B + 1 .......1 is carry from previous. 
F = 25
F = 5 with carry 2 forwarded to next.
-------------------------------------------------------------------------------------

Now let's verify addition at first place,

1 + 6 + 1 + 1 = 11.

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

To conclude, let's rewrite entire equation with number replaced,


   167161

+ 664711

+ 162166

+ 164611

-------------
 1158649


Correct Numbers in place of digits
Follow me on Blogarama