It is given that the group $G$ has only two subgroups: the trivial group $\{e\}$ and $G$ itself, can we be sure that $G$ has order $k$ which must be a prime number?
I know that the reverse of this statement is true by Lagrange's theorem, but cannot be sure whether the above statement is true or not.