I am new to sage. This program should give me all prime ideals in OK with K=Q(i) up to norm 5. So far I have :
sage: K.<a> = QuadraticField(-1)
for j in range(5):
L= K.ideals_of_bdd_norm(j)
if L.is_prime():
print L
![]() | 1 | initial version |
I am new to sage. This program should give me all prime ideals in OK with K=Q(i) up to norm 5. So far I have :
sage: K.<a> = QuadraticField(-1)
for j in range(5):
L= K.ideals_of_bdd_norm(j)
if L.is_prime():
print L