Re: How to declare a finite field element resulting from a Prime Power in Pari/ɢᴘ ?
John Cremona <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAD0p0K7r639Zv4a1Yj0W2aXu1G5Qe2SXdVgVh-LTXu7Ae5HjTg@mail.gmail.com> |
On Fri, 4 Jul 2025, 14:37 Bill Allombert, <[email protected]> wrote: > 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. > z12.minpoly() should do it. John > 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 > >