### 5.25.11 Primitive part of a polynomial : primpart

primpart takes as argument a polynomial P given by a
symbolic expression or by the list of its coefficients.

primpart returns the primitive part of P,
that is P divided by the GCD
(greatest common divisor) of its coefficients.

Input :

primpart(6x`^`

2-3x+9)

or:

primpart([6,-3,9],x))

Output :

2*x`^`

2-x+3