Possible Duplicate:
Showing non-cyclic group with $p^2$ elements is Abelian
I must show that a group with order $p^2$ with $p$ prime must be a abelian. I know that $|Z(G)| > 1$ and so $|Z(G)| \in \{p,p^2\}$.
If I assume that the order is $p$ i get $|G / Z(G)| = p$ and so each coset of $Z(G)$ has order $p$ which means that each coset is cyclic and especially $Z(G)$ is cyclic. Can I conclude something by that?