#19814: Group Theory::random_prime(n) generating composite numbers for large
values
of n
-------------------------+-------------------------------------------------
Reporter: | Owner:
DayneSorvisto | Status: new
Type: PLEASE | Milestone: sage-7.0
CHANGE | Keywords: prime numbers
Priority: major | Authors:
Component: number | Report Upstream: Reported upstream. No
theory | feedback yet.
Merged in: | Branch:
Reviewers: | Dependencies:
Work issues: |
Commit: |
Stopgaps: |
-------------------------+-------------------------------------------------
Hi,
First time posting a bug report on trac. The bug I'd like to report is
"random_value" returns composite numbers for large integers. For example
m =
random_prime(100000000000000000000000000000000000000000000000000000000000000000000000000)
returned
71944724797690175157403755256108218794891687825722145298657347991279721529
which is a composite number ending in 9.
--
Ticket URL: <http://trac.sagemath.org/ticket/19814>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.