Any homomorphism from $S_n$ to an abelian group $G$ is given by $\;f(\sigma) = e$, if $\sigma$ is an even permutation, and $f(\sigma)= a$, where order of $a =2$, if $\sigma$ is an odd permutation.
I can prove that this is a homomorphism, but what guarantees that there is no other homomorphism other than this, and why are all even permutations mapped onto the identity of $G$?
I only know that under a homomorphism, identity of $G_1$ goes to identity of $G_2$ and kernels are normal subgroups ($A_n$ are normal), but why there are no possibilities in which kernel is not $A_n$?? I am confused.
If such a homomorphism $S_n \to G$ exists, then it induces a surjective homomorphism $S_n \to \langle a \rangle \cong C_2$. Therefore, the kernel has index $2$ and so is $A_n$ because it contains $A_n$.