Prove that a finite group $G$, where $x^2 = e$ $\forall x \in G$, has order $2^n$ for some $n \in \mathbb{N}$.
I already know that every group with this property is abelian, but I don't see the relationship between being abelian and having order $2^n$.
I'm not sure where to start on how to prove this, because I don't understand why there can't be a group of order $6$ for example.
All you need is Cauchy's theorem: if $p$ is prime and $p|o(G)$ then there exists an element of order $p$ in your group. $x^2=e$ for all $x$ says everything has order at most 2, so no other prime can be a divisor of the order of $G$ (or we would have an element of that order, which we don't). Fundamental theorem of arithmatic then gets you that the order is $2^n$ for some $n\ge0$. (Technically the trivial group does meet this critera)