Bill Allombert on Sat, 16 Jul 2011 11:54:14 +0200


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

Re: znlog() behavior


On Sat, Jul 16, 2011 at 01:30:13PM +0400, Max Alekseyev 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.

Z/(2^67-1) is not cyclic, so znprimroot(2^67-1) is undefined.
This explain this error.

Cheers,
Bill.