How to find out if ideal is prime, principal, maximal in $\mathbb{Z}[X]$?
sage: PR.<xx> =PolynomialRing(ZZ)
sage: I_PR = PR.ideal(2,xx)
sage: I_PR.is_principal()
NotImplementedError
Is there another way?
add a comment