sorry for the clickbait title... but it does come from a genuine misunderstanding in the following proof:
Let G be a group such that $\forall x \in G: x^2 = 1$. G is abelian. If G is finite, then G can be seen as a vector space on the field $F_2$, and is of finite dimension $n$. Hence, $G \cong F_2^n \implies |G| = 2^n$.
The proof is pretty straightforward, but I can't see why it would not hold if we replaced $G$ by any arbitrary finite abelian group... though it obviously doesn't (not every finite group has order $2^n$).
I assume there has to be a subtlety when seeing $G$ as an $F_2-$, but I cannot see it (it is the first time I have seen this trick). I assume every finite abelian group can be seen as an $F_2-$vector space? (I'm not sure about that)
I read this post but cannot find an answer :/
Thanks for your help.