To make this easier, let's first factor 18 and 21 into their prime factors: 18=2*3^2 21=3*7 Now it's very easy to find the LCM and GCF. The LCM is 2*3^2*7=126, and the GCF is 3.
The GCF of two numbers multiplied by their LCM will equal the product of the original numbers. If you know the GCF, divide it into the product of the two. The result will be the LCM. If the GCF of two numbers is 1, the LCM is their product.
You need at least two numbers to find a GCF or an LCM and the LCM of those numbers can never be less than the GCF. 12 and 360 have a GCF of 12 and an LCM of 360. So do 60 and 72.
The product of the GCF and the LCM of two numbers is equal to the product of the original two numbers. Multiply the GCF and the LCM. The original two numbers will be another factor pair of that total. Find the factor pair that has that GCF and LCM.
2 and 5 are coprime integers: they do not have any common factors. Therefore the GCF is 1 and the LCM is their product, 2x5=10.
The GCF is 4a2b The LCM is 12a3b2
You need at least two numbers to find either an LCM or a GCF.
To find the GCF and LCM at least two or more numbers must be given
To find the LCM and GCF of numbers at least two or more numbers are neeeded.
The LCM is: 825The GCF is: 5
You need at least two numbers to find either a GCF or an LCM.
The LCM of two numbers multiplied by their GCF will equal the product of the original numbers. If you know the LCM, divide it into the product. The result will be the GCF.
To make this easier, let's first factor 18 and 21 into their prime factors: 18=2*3^2 21=3*7 Now it's very easy to find the LCM and GCF. The LCM is 2*3^2*7=126, and the GCF is 3.
The GCF of two numbers multiplied by their LCM will equal the product of the original numbers. If you know the GCF, divide it into the product of the two. The result will be the LCM. If the GCF of two numbers is 1, the LCM is their product.
To find the GCF and the LCM you have to first at least try to use prime factorization. So use factor trees. Or for the LCM find th least common multiples of the number.
#include<stdio.h> main() { int a,b,i,lcm,gcf; printf("\n Enter two numbers"); scanf("%d%d",&a,&b); for(i=0;i<=a;i++) { if((b%i==0)&&(a%i==0)) { gcf=i; } } lcm=a*b/gcf; printf("\n GCF is %d and LCM is %d",gcf,lcm); }
You need at least two numbers to find a GCF or an LCM and the LCM of those numbers can never be less than the GCF. 12 and 360 have a GCF of 12 and an LCM of 360. So do 60 and 72.