The following question is from a past problem set in a course on group theory. For reference, the text used is by Derek Robinson, entitled "A Course in the Theory of Groups".
"Show that in a group $G$ whose order is some power of a prime $p$, $H$ is a maximal group if and only if $|G:H|=p$."
I am hoping for a solution to this. We were given the hint that in a group $G$ of order $p^k$ where $p$ is prime, if there is a proper subgroup $H$ of $G$, then $H$ is a proper normal subgroup of $N_G(H)$. This hint seems to be the key but I still don't see how.
Thank you in advance.