Répondre :

18 =2 * 3 *3 
42 = 2 * 3 * 7 

PGCD  = 2*3 = 6
UNPIWI
18: 2*9 , 3*6
42 : 2*21 , 3*14 , 6*7

plus grand diviseur commun = 6