Max Alekseyev on Sat, 16 Jul 2011 11:51:32 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: znlog() behavior


It seems that the actual reason is that 2^67-1 is a product of two
primes as has no primitive root.
Would it be more natural and intuitive if znprimroot() complained about that?
Regards,
Max

On Sat, Jul 16, 2011 at 1:30 PM, Max Alekseyev <maxale@gmail.com> wrote:
> I suspect the following error (issued by pari/gp development svn-13224
> version) is a bug, isn't it?
>
> ? znlog(2,znprimroot(2^67-1))
> Â*** Â at top-level: znlog(2,znprimroot(2
> Â*** Â Â Â Â Â Â Â Â ^--------------------
> Â*** znlog: gen_Shanks_log: supplied order (= 67) is incorrect.
>
> Regards,
> Max
>