AttributeError when factoring ideals

59 views
Skip to first unread message

MANUEL CORTES IZURDIAGA

unread,
Jun 9, 2025, 8:23:39 AMJun 9
to sage-support
When trying to factorize an ideal in a ring of integers:
Captura desde 2025-06-09 14-18-39.png

I get the following error:

Captura desde 2025-06-09 14-20-14.png

Does anybody know the problem?

Thanks in advace.

Nils Bruin

unread,
Jun 10, 2025, 12:40:55 AMJun 10
to sage-support
Try A = O.fractional_ideal(6) instead. I think you may be ending up in generic ideals-of-commutative-rings code, where factorization isn't readily available.

MANUEL CORTES IZURDIAGA

unread,
Jun 10, 2025, 7:08:01 AMJun 10
to sage-support
That worked. Than you!

Justin C. Walker

unread,
Jun 16, 2025, 3:22:38 PMJun 16
to SAGE Support
Hmm… what version of Sage are you using.

I tried this with two MacOS versions, Sage 10.1 on Catalina (10.15.7) and Sage 10.3 on High Sierra (10.13.6).  I had not problems on either version.

Also, for less typing, this works as well: A = 6*O :-}

Justin

On Jun 9, 2025, at 05:21 , 'MANUEL CORTES IZURDIAGA' via sage-support <sage-s...@googlegroups.com> wrote:

When trying to factorize an ideal in a ring of integers:
<Captura desde 2025-06-09 14-18-39.png>

I get the following error:

<Captura desde 2025-06-09 14-20-14.png>

Does anybody know the problem?

Thanks in advace.

--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-support/de43b332-c14d-4f8e-a5e1-fe3d8da8af01n%40googlegroups.com.
<Captura desde 2025-06-09 14-18-39.png><Captura desde 2025-06-09 14-20-14.png>

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
I want to die, peacefully in my sleep, like my grandfather;
not screaming in terror, like his passengers.




MANUEL CORTES IZURDIAGA

unread,
Jun 17, 2025, 6:04:53 AMJun 17
to sage-s...@googlegroups.com
Sage 10.6 in Ubuntu 24.04 through conda.

Manolo.

You received this message because you are subscribed to a topic in the Google Groups "sage-support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-support/ra0uHVXcJiQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-support...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-support/45C14867-6E13-4114-B08D-EED9099C6593%40mac.com.

Reply all
Reply to author
Forward
0 new messages