Solution (source code)

= Solution

The multiplicative group of $L=\mathbb F_{q^N}$ is cyclic of order $m=q^N-1$. For a primitive element $\zeta$, $L=\mathbb F_q(\zeta)$, so this is a <cyclotomic field>[cyclotomic extension]. The cyclotomic character is
$$
\operatorname{Gal}(L/\mathbb F_q)\hookrightarrow(\mathbb Z/m\mathbb Z)^\times,
\qquad
\sigma\mapsto a_\sigma,quad \sigma(\zeta)=\zeta^{a_\sigma}.
$$
Its image is the cyclic subgroup $\langle q\rangle$, of order $N$.