Ideals of $\mathbb Z[x]$

asked 2024-02-20 18:11:24 +0100

Thrash gravatar image

updated 2024-02-20 18:14:55 +0100

I think the following code should output True instead of False because we have $1 = (1-2x)+2x \in I$:

R.<x> = ZZ[]
I = R.ideal(1-2*x,2)
I.is_trivial()
edit retag flag offensive close merge delete

Comments

1

The corresponding issue is at https://github.com/sagemath/sage/issu...

Max Alekseyev gravatar imageMax Alekseyev ( 2024-02-20 20:20:45 +0100 )edit