Suppose $G\neq\{e\}$ is a group whose only subgroups are $\{e\}$ and G.
Prove that $G$ is finite and $|G|$ is prime.
In regards to the prime part, I believe that we can simply apply Lagrange's theorem, but first I must prove that G is not infinite. Generally one would start something like this by assuming that G is infinite and try to find a contradiction. Although I'm not exactly sure where to start with this. Any help would be greatly appreciated.