I have a task from my group theory course
If $G$ is a group and $H \leq G $, such that $[G:H] =n$, and $H$ is finitely generated, then $G$ is finitely generated.
I had an idea using $G = H \cup g_1H \cup \dots \cup g_{n-1}H$, and maybe showing that the union is finitely generated, but I think I'm missing something, or that I'm completely wrong.
Am I in the right way?
Thanks for the help!