Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question
0

Polynomial representation of GF(7)?

asked 12 years ago

bk322 gravatar image

updated 0 years ago

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)?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 12 years ago

calc314 gravatar image

updated 12 years ago

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

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

Preview: (hide)
link

Comments

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

bk322 gravatar imagebk322 ( 12 years ago )

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: 12 years ago

Seen: 755 times

Last updated: Jun 12 '12