New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_prime_power fails on powers of 30011 #20025
Comments
comment:1
|
comment:2
Thanks, I was building the latest beta to see if the PARI update changed anything (though I could not say at this point if PARI is involved). |
comment:3
Funny
|
comment:4
So it is an issue in the PARI versions we ship (at least the one in 7.0):
|
comment:5
I attempted to send a bug report upstream. |
Upstream: Reported upstream. No feedback yet. |
This comment has been minimized.
This comment has been minimized.
comment:8
I tried all primes up to 106 and still only 30011 fails. |
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
comment:9
Fixed in master according to Karim, though he did not push the commit yet :) |
comment:10
Let's me know when it's fixed in PARI master, then I can make a package. |
Author: Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
Commit: |
comment:15
I did not yet run full doctests, but otherwise this seems to work. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
Doctests pass now. |
comment:18
Thanks, looks ok. |
Reviewer: Jean-Pierre Flori |
Changed branch from u/jdemeyer/is_prime_power_fails_on_some_inputs to |
Playing with finite fields on Sage 6.10 or 7.0:
Apparently
is_prime_power
returnsFalse
for that cardinality.PARI bug report:
http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1782
Tarball: http://sage.ugent.be/www/jdemeyer/sage/pari-2.8-2341-g61b65cc.tar.gz
Upstream: Fixed upstream, but not in a stable release.
CC: @videlec
Component: basic arithmetic
Author: Jeroen Demeyer
Branch/Commit:
9c5d20c
Reviewer: Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/20025
The text was updated successfully, but these errors were encountered: