Ask Your Question
0

What is the way of integer representation of an element in $GF(3^{15})$

asked 2020-04-03 06:46:54 -0500

For each integer $i$ there is an polynomial representation in $GF(3^{15})$ by

for i in srange(F.cardinality()):
    print(i, '=>', F(i.digits(3)))

As for example $4 \implies x + 1$. What is the reverses way that is, $ x + 1\implies 4$

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-04-03 07:49:56 -0500

rburing gravatar image

The alternative solution from an answer to a previous question applies:

sage: F.<x> = GF(3^15)
sage: i = 231
sage: a = F(i.digits(3))
sage: ZZ(list(vector(a)),base=3)
231
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-04-03 06:46:54 -0500

Seen: 46 times

Last updated: Apr 03