$U(\mathbb{Z}_{27})$ is a group of order $18$.
$U(\mathbb{Z}_{27})=\{1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26\}$
How do I find the generators to prove that this group is cyclic?
The final aim is to prove that group $U(\mathbb{Z}_{54})$ is cyclic using $U(\mathbb{Z}_{54})\cong U(\mathbb{Z}_{27})$.
Hint: In general, if $g$ is a generator for $U(p)$ then $g$ or $g+p$ is a generator for $U(p^n)$ for all $n$. Finding a generator for $U(3)$ is easy...