Questions tagged [finite-fields]
51 questions
1
vote
0 answers
Package FiniteFields
In a Mathematica session, I evaluate:
Needs["FiniteFields`"];
fld = GF[2];
Now, for example, I'd like to compute $a^3+a^5$ for $a \in{Z_2}$. The result I'd like to have is $0$, because in $Z_2$, $a^n=a$ and $a+a=0$.
I tried:
fld[{a^3}] +…
Imu
- 13
- 2
0
votes
1 answer
Why is While not showing any output?
I'm trying to use the Finite Fields package to show that $x$ is not a primitive element of $\mathbb{Z}_3[x]/\langle x^3 + 2x + 2 \rangle \cong GF(3^3)$. The idea is to take the following piece of code:
i = 1;
While[ReduceElement[GF[3, {2, 2, 0,…
silvascientist
- 389
- 1
- 13
0
votes
0 answers
How can I express Sqrt[2] as an element in the field Q(2^(1/4))?
If I input: ToNumberField[Sqrt[2], 2^(1/4)]
Mathematica returns: AlgebraicNumber[Root[-2 + #1^4 &, 2], {0, 0, 1, 0}]
How would I know which root of x^4 - 2 Mathematica is referring to here? In this simple example it must mean either of the two real…
Geoffrey Critzer
- 1,661
- 1
- 11
- 14