Alphametic puzzle

            X Y Z             X Y Z
         +    A B            -  A B
           -------            -------
         C D E F            B G A

find X,Y,Z,G.


i;m not able to fully solve it ..
plz help
shilpi84Asked:
Who is Participating?
 
jitendra_wadhwaniCommented:
Adding a two digt number  to a 3 digint number is resulting 4 digit number...which will be between 1001 to 1198 so C = 1;

Tow digit number can be max 99 so the 3 digit number is greated than or equal to 901

so X = 9 Confirm;


if YZ >  A B then X Y Z - A B should result X _ _ but it is resulting B _ _ means
YZ < AB and in this case B can be nothing but 8 only

so till now

X = 9; B=8; C = 1;

XYZ can be max 999 and min 901
AB can be min 10 and max 99 so addition wil not cross


  9 Y Z
  + A 8
=====
1 D E F


  9 Y Z
  - A 8
=====
  8 G A


NOw D can be only 0 or 1 as 5 digit number will be between 1001 to 1198

Since c is already 1 so D = 0;

Till now

X = 9; B=8; C = 1; D = 0;

Remaining Y Z A E F G are among 2,3,4,5,6,7,

Take the addition case

if z=2 then F should be 0 so which is not possible so Z is not 2
if z = 3 then F will be 1 again not possible

if z = 4 then F will be 2 possible

 sub case then A will be 6

remaining Y E F among 3,5,7
Check othenr if fails increasy Z and try again

and so on you will reach

 
D=0 ; C=1 ; E=2; F=3 ;Y=4 ; Z=5 ;G=6 ; A=7 ; B=8  ;   X=9 ;  
0
 
mellowmarquisCommented:
Should there be an equals sign between those two equations?
Are the symbols meant to be indivudual numbers or algrebraic expressions?

ie: xyz = 123
or: xyz= x (times) y (times) z

cheers,
0
 
A. Cristian CsikiSenior System AdministratorCommented:
hy there a solution for your puzzle is here:
http://www.tkcs-collins.com/cgi/alpha_solve.cgi
good luck
0
How do you know if your security is working?

Protecting your business doesn’t have to mean sifting through endless alerts and notifications. With WatchGuard Total Security Suite, you can feel confident that your business is secure, meaning you can get back to the things that have been sitting on your to-do list.

 
A. Cristian CsikiSenior System AdministratorCommented:
sorry, in my last comment, there is the solution for the sum, checking now for diff
0
 
shilpi84Author Commented:
there is no = sign between the two
0
 
shilpi84Author Commented:
x has got to be 9 since xyz + ab=cdef which is a 4 letter. word max carry from y + a = 1 so x=9
hence c=1, d=0.
0
 
A. Cristian CsikiSenior System AdministratorCommented:
b,c,d, and x are always like this: b=8, c=1, d=0, x=9 and a=f...
leave me a lil bit to give you the rest of the values
0
 
A. Cristian CsikiSenior System AdministratorCommented:
the solutions:

b=8  ;  c=1  ; d=0 ; x=9 ; z=4 ; f=2 ; a=6 ; y=5 ; g=8 ; e=2;
b=8  ;  c=1  ; d=0 ; x=9 ; z=4 ; f=2 ; a=6 ; y=6 ; g=9 ; e=3;
b=8  ;  c=1  ; d=0 ; x=9 ; z=5 ; f=3 ; a=7 ; y=4 ; g=6 ; e=2;
b=8  ;  c=1  ; d=0 ; x=9 ; z=5 ; f=3 ; a=7 ; y=5 ; g=7 ; e=3;
b=8  ;  c=1  ; d=0 ; x=9 ; z=5 ; f=3 ; a=7 ; y=6 ; g=8 ; e=4;
b=8  ;  c=1  ; d=0 ; x=9 ; z=5 ; f=3 ; a=7 ; y=7 ; g=9 ; e=5;
b=8  ;  c=1  ; d=0 ; x=9 ; z=6 ; f=4 ; a=8 ; y=4 ; g=5 ; e=3;
b=8  ;  c=1  ; d=0 ; x=9 ; z=6 ; f=4 ; a=8 ; y=5 ; g=6 ; e=4;
b=8  ;  c=1  ; d=0 ; x=9 ; z=6 ; f=4 ; a=8 ; y=6 ; g=7 ; e=5;

fits both equations.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.