Shortcut in calculating examples of elements of a given order? So, to put it in other words, I first find the primitive element, $g$. Then, lets say I want an element of order $10$, I do $30/10 = 3$, and so I find $k$ such that $\gcd(k,g) = 1$ and $\gcd(k,30) = 3$ and then just do $g^3$?
Find what values of $n$ give $\varphi(n) = 10$ @TobiasKildetoft You mean using fundamental theorem of arithmetic? Also, can I keep editing the question with what I'm doing so you can see if I'm making mistakes anywhere?