How to find out if ideal is prime, principal, maximal in Z[X]?

asked 9 years ago

Oderyn gravatar image
sage: PR.<xx> =PolynomialRing(ZZ)
sage: I_PR = PR.ideal(2,xx)
sage: I_PR.is_principal()
NotImplementedError

Is there another way?

Preview: (hide)