That depends on the values of A, B and C.
Chat with our AI personalities
The least common multiple (LCM) of two numbers is the smallest number that is a multiple of both numbers. In this case, the LCM of ab and bc would be the product of the two numbers divided by their greatest common divisor (GCD), which is b. Therefore, the LCM of ab and bc is abc.
If two numbers are expressed as ab and cb this is easier to work out. Assume that a and c have no common prime factors. Thus, the HCF of the two numbers will be b. The LCM is the two numbers multiplied by each other, divided by the HCF. So the LCM will be abc. b is a factor of abc, and so the HCF will always be a factor of their LCM.
The least common multiple (LCM) of two numbers is the smallest positive integer that is a multiple of both numbers. In this case, the numbers a-b and b-a are simply the same numbers but written in a different order. Therefore, the LCM of a-b and b-a would be the absolute value of the difference between a and b.
The LCM of 9b and 12 b is 36b. LCM is Least Common Multiple.
Shell program to find LCM and hcf of two no.s tput clear echo "Enter first no" read a echo "Enter 2nd no" read b p= 'expr $a \* $b' while [$b -ne 0] do r= 'expr $a % $b' a=$b b=$r done LCM = 'expr $p / $a' echo "LCM = $LCM" echo "Hcf = $a"