Best Answer

You cannot.

LCM{2,6,12} = 12 and GCF{2,6,12} = 2

LCM{4,6,12} = 12 and GCF{4,6,12} = 2

The two sets have the same LCM and GCF but, clearly, their sums are different.

Study guides

☆☆

Q: How do you find sum of numbers when LCM and gcd are given?

Write your answer...

Submit

Still have questions?

Continue Learning about Movies & Television

no

The GCD is 125 The LCM is 546,875

Only if they're the same number. The LCM and GCF of 10 and 10 is 10.

(start) [calculate gcd] [calculate product] [divide] (stop)

The GCF is 33.The LCM is 1485.

Related questions

if the gcd and lcm are given and one of the numbers are also given,multiply the gcd and lcm and divide them by the given number

no

You need at least two numbers to find either of those.

You can just use the GCD of any two of your numbers and find the GCD of it with your third number. Same for LCM. public class Lcmgcd { private static int gcd(int a, int b) { return (b == 0) ? a: gcd(b, a%b); } private static int lcm(int a, int b) { return a * b / gcd(a, b); } public static void main(String[] args) { int[] n = {12, 16, 28}; System.out.println("GCD: " + gcd(n[2], gcd(n[0], n[1])) + "\tLCM: " + lcm(n[1],lcm(n[2],n[0]))); } }

If you have two numbers m and n and their gcd (or gcf), g then their LCM = m*n/g so LCM = 72*252/36 = 2*252 = 504.

The following function will return the GCD or LCM of two arguments (x and y) depending on the value of the fct argument (GCD or LCM). enum FUNC {GCD, LCM}; int gcd_or_lcm(FUNC fct, int x, int y) { int result = 0; switch (fct) { case (GCD): result = gcd (x, y); break; case (LCM): result = lcm (x, y); break; } return result; }

If you have the gcd or the LCM of two numbers, call them a and b, you can use the relationship that gcd(a,b) = (a multiplied by b) divided by LCM (a,b) where LCM or gcd (a,b) means the LCM or a and b. This means the gcd multiplied by the LCM is the same as the product of two numbers. Let's assume you have neither. There are several ways to do this. One way to approach both problems at once is to factor each number into primes. You can use these prime factorizations to find both the LCM and gcd To compute the Greatest common divisor, list the common prime factors and raise each to the least multiplicities that occurs among the several whole numbers. To compute the least common multiple, list all prime factors and raise each to the greatest multiplicities that occurs among the several whole numbers.

800

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html

The GCF is 39 The LCM is 2457.

I think you mean either the GCD or the LCM? Not sure which since they are relatively prime, the LCM will the the product of the three numbers and the GCD is 1

GCD = 39 LCM = 1,755

People also asked

Featured Questions