LCM( 2, 4 ) = 4
The formula for finding LCM is
$$ \text{LCM} (a, b) = \frac{ a \cdot b }{ \text{GCD}(a,b)} $$In this example we have: a = 2, b = 4 and GCD(2, 4) = 2.
$$ \text{LCM} (2, 4) = \frac{ 2 \cdot 4 }{ \text{GCD}(2,4)} = \frac{ 8 }{ 2 } = 4 $$