I have a polynomial ring $\mathcal{R} = \mathbb{Z}_3[x]/(x^2+x+2)$ and I am supposed to find a generator of the multiplicative group of $\mathcal{R}$.
Well, I know that the $\vert \mathcal{R} \vert = 9$, therefore the number of elements of the multiplicative group is $9-1 = 8$ and that the elements $f(x)\in$ $\mathcal R$ are $[f(x)]=\{g(x) \in \mathbb Z_3 \mid g(x) \equiv f(x)$ mod $(x^2+x+2) \}$. Though I do not know how to find the generator instead of brute-forcing. Is there a smart way to do it? Thank you in advance.