2022-06-24 16:14:10 UTC, Michael Beeson: > > The following seems fishy: > ``` > sage: K.<a> = QuadraticField(-1) > sage: K.factor(13) > (Fractional ideal (-3*a - 2)) * (Fractional ideal (2*a + 3)) > ```
>From the documentation for `K.factor`: Ideal factorization of the principal ideal generated by n. Is this closer to what you wanted? ``` sage: K(13).factor() (a) * (-3*a - 2) * (2*a + 3) ``` -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/e8ecc822-8274-45c6-b717-a5e21201b249n%40googlegroups.com.