Prime number – A prime number is a number which has exactly two factors i.e. it can be divided by only the number ‘1’ and itself.
The smallest prime number is = 2
composite number – A composite number has more than two factors, which means apart from getting divided by number 1 and itself, it can also be divided by at least one integer or number. We don’t consider the number ‘1’ as a composite number.
The smallest composite number is = 4
Now find the LCM of 2 and 4:
2 is the factor of 4
∴ LCM of 2 and 4 = 4.