Let $G$ be a finite cyclic group. Prove that if $n$ is a divisor of $|G|$ then there exists an element of order $n$ in $G$. How many such elements are there?
My attempt:
Let $|G| = m$.
Since $n$ is a divisor of $|G| = m$ there exists some integer $k$ such that $\frac{m}{n} = k$. We want to show that there's an element $h \in G$ such that $h^n = e$.
Let $g \in G$ be the generator of this cyclic group.
$$g^{\frac{m}{n}} = h \Rightarrow g^m = h^n = e$$
For any $s < n$ we have $h^s = g^{s \frac{m}{n}} \neq e$ and therefore the order of the element $h$ is $n$.
My questions:
- Is that reasoning correct?
- How do I figure out how many such elements are there?
As an answer regarding the existence is already given, I will only answer your second question on how many such numbers exist. A number m in $\mathbb Z _n$ is of order $d$ if $gcd(n,m) = \frac n d$, for we want $m * k$ for a minimal $k$ to be 0 modulo n. From here we know that the number of such elements is $\varphi (\frac {n}{d})$, (where $\varphi(n)$ is the number of positive integers up to n that are relatively prime to n) as we want elements of the form $k * d$, where gcd(k,$\frac n d $) = 1.