#19814: Number Theory::random_prime(n) generating composite numbers for large
values of n
----------------------------+----------------------------------------------
       Reporter:            |        Owner:  DayneSorvisto
  DayneSorvisto             |       Status:  needs_review
           Type:  defect    |    Milestone:  sage-duplicate/invalid/wontfix
       Priority:  major     |   Resolution:
      Component:  number    |    Merged in:
  theory                    |    Reviewers:  Travis Scrimshaw
       Keywords:  prime     |  Work issues:
  numbers                   |       Commit:
        Authors:            |     Stopgaps:
Report Upstream:  N/A       |
         Branch:            |
   Dependencies:            |
----------------------------+----------------------------------------------
Changes (by tscrim):

 * status:  new => needs_review
 * reviewer:   => Travis Scrimshaw
 * upstream:  Reported upstream. No feedback yet. => N/A
 * milestone:  sage-7.0 => sage-duplicate/invalid/wontfix


Comment:

 As far as I can tell, that is a prime number:
 {{{
 sage: x =
 71944724797690175157403755256108218794891687825722145298657347991279721529
 sage: sum(x.digits())
 368
 sage: 3+6+8 % 3
 11
 sage: (3+6+8) % 3
 2
 sage: x.is_prime()
 True
 }}}
 If I'm mistaken, could you tell me its prime decomposition?

--
Ticket URL: <http://trac.sagemath.org/ticket/19814#comment:10>
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.

Reply via email to