#9401: pari(n).isprime(1) does not give the primality certificate to the user
--------------------------------+-------------------------------------------
Reporter: zimmerma | Owner: AlexGhitza
Type: defect | Status: new
Priority: minor | Milestone: sage-4.5
Component: basic arithmetic | Keywords: prime number
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
The Pari {{{isprime}}} function is able to return a primality
certificate:
{{{
gp: isprime(2^31-1,1)
[2 3 1]
[3 5 1]
[7 3 1]
[11 3 1]
[31 2 1]
[151 3 1]
[331 3 1]
}}}
However when calling this function from Sage, the certificate is
lost:
{{{
sage: pari(2^31-1).isprime(1)
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9401>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.