Gapplet
Given polynomials
f
,
g
Q
[
X
], determine their gcd and lcm.
Input
f
e.g., 5*X^4-X-1/2
Input
g
e.g., 4*X^7-X-3
gcd
lcm