I did the following exercise:
Suppose $n$ is an even positive integer and $H$ is a subgroup of $\mathbb{Z}_n$ (integers mod n with addition). Prove that either every member of $H$ is even or exactly half of the members of $H$ are even.
My answer:
Since $\mathbb{Z}_n$ is cyclic so is $H$. If $k$ generates $H$ when $k$ is even then every element in $H$ is even. If $k$ is odd then exactly every other element is even which proves the claim.
Assuming my proof is correct I was wondering how else to do this. The exercise appears before the chapter about cyclic groups.
How to answer this question without using any knowledge of cyclic groups, generators, etc.?
Suppose there is an element $x$ that isn't even. Let $A$ be the set of even elements in the subgroup and define $B=\{x+a:a\in A\}$. Then every element of $B$ is odd. Prove that $A$ and $B$ have the same number of elements and the subgroup is the disjoint union of $A$ and $B$.