$G$ is a group, $H$ is a subgroup of $G$, and $[G:H]$ stands for the index of $H$ in $G$ in the following example:
Let $G=S_3$, $H=\left<(1,2)\right>$. Then $[G:H]=3$.
I know the definition of group generators: A set of generators $(g_1,...,g_n)$ is a set of group elements such that possibly repeated application of the generators on themselves and each other is capable of producing all the elements in the group.
What does the individual elements of $H=\left<(1,2)\right>$ look like? Any help would be greatly aprciated.
P.S. I know how to find the index when the groups don’t involve a group generator, the thing I need help with is understanding the group generator.