# Ejercicio 02.20

## a)

P:12*x^4+12*x^3+7*x^2+4*x+1$  
Q:32*x^6+48*x^5+24*x^4+20*x^3+24*x^2+12*x+2$

gcd(P,Q);

load(functs)$   lcm(P,Q);
expand(%);

## b)

kill(all)$

P:81*x^5+405*x^4+702*x^3+510*x^2+225*x+125$  
Q:108*x^6+540*x^5+900*x^4+554*x^3+270*x^2+450*x+250$

gcd(P,Q);

load(functs)$   lcm(P,Q);
expand(%);