Ask Your Question

Revision history [back]

How to show the elements of GF(2^4) as z^k instead of a_0*1+a_1*z+a_2*z^2+a_3*z^3

Hello, Sage shows elements of $GF(2^n)$ as their decomposition in $GF(2^n)$ viewed as a vector space over $GF(2)$. But $GF(2^n)$ is also a field, whose multiplicative group is cyclic, so elements (except $0$) have a natural description as $z^k$ with $k$ in $[0..(n-1)]$. How can I make Sage reveal this?