On Feb 23, 3:49 pm, William Stein <[email protected]> wrote:
> On Wed, Feb 23, 2011 at 12:03 PM, kcrisman <[email protected]> wrote:
> > In all recent alphas and rc0:
>
> And also in the *released* sage-4.6.1...
>
> This is definitely a serious bug.    

Yeah, I kind of figured!

> It should be reported to the sage
> trac and upstream to the PARI developers.

See http://trac.sagemath.org/sage_trac/ticket/10836.   I have no
desire to add yet another mailing list - can you report this
upstream?   Also, feel free to make it a blocker; I put it at
critical.


> ? znprimroot(15)
> %1 = Mod(2, 15)
> ? znprimroot(8)
>   ***   at top-level: znprimroot(8)
>   ***                 ^-------------
>   *** znprimroot: primitive root mod 8 does not exist.

Yeah, that's actually how I ran into it - I was showing that Sage
correctly has powers of 2 not having a primitive root, and then made
an interact to test a relatively bizarre test for when both a and n-a
are primitive roots mod n, which reported things that should not be.

-- 
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-support
URL: http://www.sagemath.org

Reply via email to