Let $G=\{a_1,...,a_n\}$ be a finite abelian group such that $\nexists a\ne e$ with $a^2=e$
Evaluate $a_1\cdot\dots\cdot a_n$
I thaught that a finite abelian group with the property of $a^2=e\implies a=e$ is isomorphic to $\Bbb Z/p\Bbb Z$ with $p$ a prime, but that's not true cause $\Bbb Z/9\Bbb Z$ verifies this property and $9$ is not prime....
Anyway, how can one solve this exercise without using an isomorphism with a subgroup of $\Bbb Z$?
Hint:
In the product $\;a_1\cdot\ldots\cdot a_n\;$ , pair up each element with its inverse ...(Why can you change the order of the product to do this pairing? What element cannot be paired with other element?)
Finally, unrelated to the question itself but also interesting: can you characterize the number $\;n\;$ ?