Ask Your Question
0

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

asked 2020-04-03 13:46:54 +0100

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 14:49:56 +0100

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 13:46:54 +0100

Seen: 315 times

Last updated: Apr 03 '20