calculate lcm of 4 and 6
Let's evaluate: <math><mi>ppcm</mi><mo>(</mo><mn>4</mn><mo>, </mo><mn>6</mn><mo>)</mo></math> Let's decompose: <math><mn>4</mn></math> into prime factors: <math><mn>2</mn><mo>×</mo><mn>2</mn></math> <math><msup><mrow><mn>2</mn></mrow><mrow><mn>2</mn></mrow></msup></math> Let's decompose: <math><mn>6</mn></math> into prime factors: <math><mn>2</mn><mo>×</mo><mn>3</mn></math> To obtain the LCM, we keep all the prime factors with the greatest exponent: 2^2*3 <math><msup><mrow><mn>2</mn></mrow><mrow><mn>2</mn></mrow></msup><mo>×</mo><mn>3</mn></math> <math><mn>4</mn><mo>×</mo><mn>3</mn></math> ▷<b>Result: <math><mn>12</mn></math></b><span style='font-size:smaller'> (processing: 9 steps, 0 ms)</span>