Ask Your Question
0

Polynomial representation of GF(7)?

asked 2012-06-12 10:38:30 +0100

bk322 gravatar image

updated 2024-04-18 11:38:01 +0100

FrédéricC gravatar image

Why sage would give me polynomial representation of GF(8), but not GF(7)?

sage: G = GF(8, 'x')
sage: G.list()
[0, x, x^2, x + 1, x^2 + x, x^2 + x + 1, x^2 + 1, 1]
sage: G = GF(7, 'x')
sage: G.list()
[0, 1, 2, 3, 4, 5, 6]

Maybe there's no such thing as polynomial represenation of GF(7)?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2012-06-12 12:11:47 +0100

calc314 gravatar image

updated 2012-06-12 12:13:27 +0100

If $p$ is a prime, then GF(p^n,'x') is obtained by computing $F_p[x] / (f(x))$ where $f$ is a monic, irreducible polynomial of degree $n$ in $F_p[x]$. For $n=1$, you just get $F_p[x] / (x) \cong F_p$.

So, for any prime $p$, GF(p,'x') is [0,1,2,...,p-1].

edit flag offensive delete link more

Comments

Oh I see - so it's just because `n=1`. Thank You for Your answer.

bk322 gravatar imagebk322 ( 2012-06-12 12:47:52 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-12 10:38:30 +0100

Seen: 585 times

Last updated: Jun 12 '12