Ask Your Question

DesperateUser's profile - activity

2018-11-30 02:37:18 +0100 received badge  Famous Question (source)
2017-05-04 19:59:37 +0100 received badge  Notable Question (source)
2017-03-13 15:52:37 +0100 received badge  Popular Question (source)
2016-04-02 20:58:14 +0100 received badge  Student (source)
2015-10-14 14:22:37 +0100 commented question Rings, Ideals, Quotient Rings in Sage

Z is my integer ring

2015-10-14 14:22:13 +0100 answered a question Rings, Ideals, Quotient Rings in Sage

Z is my integer ring

2015-10-14 09:38:47 +0100 asked a question Rings, Ideals, Quotient Rings in Sage

Hi everybody. I am new to sage. I want to construct rings, ideals, and quotient rings. I used Z.IntegerRing() to generate the ring of integers.

Question 1: Then I used I = Z.ideal(2) to get the ideal generated by 2 (even numbers). Question: How can I display the Elements. E.g. I(2) does not work in order to display the second element of the ideal.

Question 2: To generate the quotientring Z/2Z i used S = Z.quotient_ring(I). What if I want to generate the quotientring 2Z/6Z ? S = I.quotient_ring(J) does not work (I = Z.ideal(2), J = Z.ideal(6).

Thanks for any help