1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. What is the following expression, lcm (a...
Q.

What is the following expression, lcm (a, gcd (a, b)) equal to?

A. a
B. b
C. a*b
D. a + b
Answer» A. a
Explanation: since the lcm function follows absorption laws so lcm (a, gcd (a, b)) equal to a.

Discussion