x,y, and z are positive integers such that gcd(x, y, z) = 14 and lcm(x, y, z) = 630 What is the smallest possible value of x + y + z?
x=1;p=0; y=1;z=1;n=LCM(x,y,z);if(n==630 and GCD(x,y,z)==14, goto loop, goto next);loop:p=p+1;printp," =",x,y,z,"=", sum(x,y,z);next:x++;if(x<127, goto4,0);x=1;y++;if(y<127, goto4, 0);x=1;y=1;z++;if(z<127, goto4,0)
The smallest possible values of x = 14, y = 70, and z =126
14 + 70 + 126 = 210