First of all I'm not sure if "Power automorphism" is the correct term, so I apologize if it is not.
"Let $G$ be an abelian group of order $n$, and $m$ an integer. $f:G\rightarrow G$ s.t. $f(a)=a^m$. Find a sufficient and necessary condition such that $f$ will be an automorphism."
I know that $f$ will be an automorphism iff $\operatorname{Im}(f)_m=\{a^m|a\in G\}=G$.
Obviously that is correct for $m=1+nt$ for all $t\in\mathbb{Z}$. I also know the inverse map is a bijection so it also holds for $m=-1$.
I think that I'm not being very systematic. Does anyone have an idea regarding how to approach this problem? Thanks in advance =]