Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - How to get a minpoly with specified degee in Fp[x]
Author Message
  Post subject:  Re: How to get a minpoly with specified degee in Fp[x]  Reply with quote
To get an irreducible polynomial of degree 2 in char 3,
generate a random poly of degree 2 and check with factorize
whether it is irreducible.

In fact it is irreducible if and only if none of 0,1,2 is a zero
of your chosen polynomial.

---
Your method with map does not work since displayed minpoly
is 0 in the given ring. You have convert it to string which you
execute then.

Code:
> ring s = (9,a) ,y, dp;
> minpoly ;
1*a^2+2*a^1+2*a^0
> poly f = _;                   // this algebriac relation is evalueted to 0
> f;
0
> string(minpoly);
1*a^2+2*a^1+2*a^0
> string S = " poly mipo = " +  string(minpoly) + ";";
> ring r3a = 3,(a,x),dp;
> execute(S);
> mipo;
a2-a-1
> subst(_,a,x);
x2-x-1


---

The minpolys are listed in the file gftables in the LIB directory

See the similar question:
Method to list all possible minimal polynomials for GF(2^n)
viewtopic.php?f=10&t=1912
Post Posted: Sat Oct 08, 2011 5:47 pm
  Post subject:  How to get a minpoly with specified degee in Fp[x]  Reply with quote
How to get a minpoly in Fp[x], p is prime
For example,
ring r= 3,x,dp;

How to get a minpoly with degree 2 ??

Though I can get a similar result
ring s = (9,a) ,y. dp;
minpoly;
//1*a^2+2*a^1+2*a^0
but I want substitute this poly in variable x to become a poly in ring r.
i thought of building a map
map m = r, a;
However, the preimage of the minpoly is not that I want.
Post Posted: Sat Oct 08, 2011 5:23 am


It is currently Fri May 13, 2022 11:05 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group