Determining ring of integers using Computer Algebra Systems

333 Views Asked by At

I am working on ring of integers of given number fields. Are there any computer algebra systems that I can use to determine the ring of integers $O_K$ of a number field $K$? I am aware that I can ask my questions here but I need this to get quick answers and investigate their properties.Lastly, I have spent a lot time on Magma CAS, so I appreciate any answers related to Magma but other cas advices are also would be great.

1

There are 1 best solutions below

6
On

With Sage :

 P = x^3-x^2-2*x-8
 K.<a> = NumberField(P)
 OK = K.ring_of_integers()
 OK.basis()
 >> [1, 1/2*a^2 + 1/2*a, a^2]

And with $\mathbb{Q}(\sqrt{2},\sqrt{3})$ :

K.<a,b> = NumberField([x^2-2,x^2-3])
OK = K.ring_of_integers()
OK.basis()
>> [(-3/2*b + 17/2)*a - 7*b + 4, 6*a - 5*b, -2*b*a + 5, 11*a - 9*b]