Ask Your Question

rogerl's profile - activity

2024-02-18 15:32:25 +0200 received badge  Famous Question (source)
2023-10-09 19:05:23 +0200 received badge  Famous Question (source)
2022-09-27 10:43:39 +0200 received badge  Notable Question (source)
2021-05-15 12:08:40 +0200 received badge  Popular Question (source)
2020-11-19 22:27:24 +0200 commented question Can't run kash on Catalina?

I didn't try; I didn't have need for it before now.

2020-11-19 16:43:08 +0200 asked a question Can't run kash on Catalina?

I downloaded kash, but it does not appear to run on my recently-upgraded Catalina box. I suspect that it is a 32-bit application. Has anyone successfully run kash (under sage) on Catalina?

2020-09-21 17:10:36 +0200 received badge  Notable Question (source)
2020-02-16 15:23:46 +0200 received badge  Popular Question (source)
2019-04-18 16:11:40 +0200 commented question Computations in the ring of integers of a number field

@FredericC OK, but how do I do what I've asked to do?

2019-04-18 09:43:15 +0200 received badge  Nice Question (source)
2019-04-18 00:20:44 +0200 received badge  Organizer (source)
2019-04-17 23:57:20 +0200 asked a question Computations in the ring of integers of a number field

Suppose I have some number field $K$, with its ring of integers $O_K$ = K.ring_of_integers(). If $I$ is an ideal of $O_K$ (or, if $I$ is a fractional ideal of $K$), I'd like to be able to compute with the ring $O_K/I$. For example, I'd like to be able to ask how big that ring is.

K.<omega> = NumberField(x^2+x+1)
OK = K.ring_of_integers()
R.<a,b> = OK.quo(OK.ideal(9))
R.cardinality()

gives a NotImplementedError. (Even though cardinality shows up as one of the supported methods if I type R.??).

Or, again for example, I'd like to be able to determine the ring structure of $R$, or the structure of its group of units, but none of these methods seem to actually be supported.

The type of R is sage.rings.quotient_ring.QuotientRing_generic_with_category.

What am I missing?

2019-01-20 10:35:20 +0200 received badge  Good Question (source)
2019-01-19 18:24:47 +0200 received badge  Scholar (source)
2019-01-19 18:24:42 +0200 received badge  Supporter (source)
2019-01-18 14:54:16 +0200 received badge  Nice Question (source)
2019-01-18 05:58:11 +0200 received badge  Student (source)
2019-01-18 05:57:34 +0200 asked a question Extended Sage examples

I'm trying to learn how to use Sage to do algebraic number theory. I've read the thematic tutorials that seem related, but they are pretty bare-bones. The documentation seems to be pretty much a list of methods; I haven't found a higher-level view of what concepts are implemented and how they can be used. Are there any meatier extended examples that are available? Or is there documentation that I'm missing? (So, for example, how would I go about finding in the documentation the answer to "is the square root of two in the field K that I just defined"?)