Let $G$ be a finite abelian group, and let $H$ be a subset of $G$ defined by for each $n\in\mathbb{N}$ $$H=\{x^{n}\,:\,x\in G\}.$$
I know that the $H$ is indeed a subgroup of $G$.
So, by Lagrange's theorem, the order of $G$ is divisible by $H$.
Is it possible to compute the order of $H$ if the order of $G$ is given?
(The case what i'm dealing with $|G|=525$ and $n=21$. I wonder if there is a general way to compute the order of $H$.)
Give some advice or any hint. Thank you!
Using fundamental theorem of abelian groups $G$ should be isomorphic to one of these groups $\mathbb{Z}_3\times \mathbb{Z}_7\times \mathbb{Z}_5 \times \mathbb{Z}_5$, $\mathbb{Z}_3\times \mathbb{Z}_7\times \mathbb{Z}_{25}$. It can be seen that $21=3 \times 7$ does not affect any any element of order $5$ or of order $25$. Therefore if $x\in G$ such that $\mid x \mid =5$ or $25$ then $\mid x^{21} \mid= \mid x\mid$. So $\mid H\mid$ is multiple of $25$. Now if $x\in G$ such that $\mid x \mid=3$ or $\mid x \mid=7$ then $ x^{21}=(x^{3})^7=(x^7)^3=e$. Therefore the subgroup $H$ only contains elements of order $5$ or of order $25$. Hence order of $H$ is $25$.