Content and primitive part

The content of a polynomial with integer coefficients is the greatest common divisor of its coefficients. The primitive part of such a polynomial is the quotient of the polynomial by its content.

content_and_primitive_part(Polynomial)

Returns a list with two elements: the content and the primitive part.