This question was asked in a bachelor exam for which I am preparing and I was unable to solve it.
Let $G$ be an abelian group of order $34$ and $S=\{ g \in G \mid g=g^{-1}\}$ . Then what is the number of non- identity elements in $S$?
I used sylow theorem: There is $1$ sylow subgroup of order $17$ and $17$ sylow subgroups of order $2$ but $17$ is not the answer ( I'm not even close!) .
What is wrong in my approach? Can you please tell?