calcule ppcm de 4 et 6
Évaluons : <math><mi>ppcm</mi><mo>(</mo><mn>4</mn><mo>, </mo><mn>6</mn><mo>)</mo></math>
Décomposons : <math><mn>4</mn></math> en facteurs premiers :
 <math><mn>2</mn><mo>×</mo><mn>2</mn></math>
 <math><msup><mrow><mn>2</mn></mrow><mrow><mn>2</mn></mrow></msup></math>
Décomposons : <math><mn>6</mn></math> en facteur premiers :
 <math><mn>2</mn><mo>×</mo><mn>3</mn></math>
Pour obtenir le PPCM, on conserve tous les facteurs premiers avec le plus grand exposant : 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>Résultat : &nbsp; <math><mn>12</mn></math></b><span style='font-size:smaller'> &nbsp; &nbsp; (le calcul a pris 9 étapes et 1 ms)</span>