Bill Allombert on Fri, 04 Jul 2025 15:36:46 +0200


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

Re: How to declare a finite field element resulting from a Prime Power in Pari/ɢᴘ ?


On Fri, Jul 04, 2025 at 03:24:23PM +0200, Laël Cellier wrote:
> Thank you. And to which value I should set P to ?

I told you already:

  You need to find the minimal polynomial P of z12 in SageMath and the characteristic p.

If you do not know how to do that in SageMath, ask a SageMath forum.

You can also do

z12 = ffgen([p,12]); 

and PARI will pick one for you, but it might not be the same as SageMath.

Cheers,
Bill