Units in $\mathbb{Z}/n\mathbb{Z}$