Consider the finite filed $GF(p^q)$ such that has elements of order $r$ that means $r\mid p^r-1$. Suppose that $a>1$ is a element of $GF(p^q)$ in which it's order is $r$ that means $r$ is the smallest number that holds at the relation $a^r=1$. We define elements $a_i$, $1\leq i \leq r-1$ in the following form: $$ a_i=a^i \quad , \quad 1\leq i \leq r-1 \, . $$ It can be proved that elements $a_i$, $1\leq i \leq r-1$ are distinct. Now, my question is that how to compute $\sum_{i=1}^{r-1}\,a_i$?
My try: $$ \begin{array}{l} a_1+a_2+\cdots+a_{r-1}=a+a^2+\cdots+a^{r-1}\\ \\ =\underbrace{1+a+a^2+\cdots+a^{r-1}}+p-1=\frac{a^r+p-1}{a+p-1}+p-1\\ \\ =\frac{1+p-1}{a+p-1}+p-1==\frac{0}{a+p-1}+p-1=p-1 \end{array} $$
Is my answer correct and then Is there another method to compute $\sum_{i=1}^{r-1}\,a_i$?
Thanks for any suggestions.