I was interesting in seeing how well powers are distributed in a finite field, and I came across a peculiar phenomenon.
I used the prime number $p=1009$, and I did my calculations in the finite field $\mathbb F_{1009}$.
I calculated all the powers $\mu^k$ where $\mu:=123\in \mathbb F_{1009}$, and I draw the following graph (the $x$-axis is $k\in \{1,\ldots,1009\}$ and the $y$-axis is $\mu^k\in \mathbb F_{1009}$):
We can see some "arabesques" on this graph, and my question is: where do they come from ? What is causing those little curves ?

