Ask Your Question
1

How to compute an ideal of specific norm?

asked 2021-07-16 09:01:52 +0100

prathamlalwani gravatar image

updated 2021-07-27 10:17:41 +0100

FrédéricC gravatar image

So I was wondering if there was a way to compute ideals of a certain norm something like:

sage: K = QuadraticField(2) 
sage: K.ideal_of_norm(2)
[Fractional ideal (a)]

something like this.

edit retag flag offensive close merge delete

Comments

slelievre gravatar imageslelievre ( 2021-07-18 10:48:10 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2021-07-20 06:10:38 +0100

nbruin gravatar image

Your question can be solved using ideal factorization. If the norm you're looking for does not have extremely large prime factors in it, it's probably easiest to construct your ideal by multiplying ideals together of appropriate prime power norms. Hence, you'd want to find ideals of prime power norm, for given prime p:

sage: K.<a>=QuadraticField(2)
sage: OK=K.maximal_order()
sage: (5*OK).factor()
Fractional ideal (5)
sage: (7*OK).factor()
(Fractional ideal (-2*a + 1)) * (Fractional ideal (2*a + 1))

As you can see, 5 is inert, so norms of ideals can only have an even power of 5 in them. 7 on the other hand, splits, so you have two different choices for ideals of norm 7. You can multiply them together in all kinds of ways to make ideals with norm any power of 7.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-07-16 09:01:52 +0100

Seen: 615 times

Last updated: Jul 20 '21