Suppose that $G$ is a group with more than one element, $G$ had no proper, non-trivial subgroup then prove that $|G|$ is prime.
Attempt.
Claim
$G$ is finite
If not then for any $x\neq e$ we have $\langle x^2 \rangle$ a non-trivial subgroup of $G$. Hence $G$ is finite.
Now given $G$ is finite.Let $|G|=m$ For any $x\neq e$ we have $\langle x \rangle$ a subgroup of $G$.
Now because there exists no non trivial subgroup, we have $\langle x\rangle=G$
Hence $G=\langle x \rangle$
Hence $G$ is cyclic.
How do I show that $|G|$ is prime?
Kindly do not use Cauchy Theorem. Use Lagrange's Theorem only, or topics taught before Lagrange Theorem.
Here is the usual complete argument.
Let $x\in G$, with $x \ne e$. Then $\langle x \rangle$ is a nontrivial subgroup and so must be $G$, that is, $G=\langle x \rangle$.
If $G=\langle x \rangle$ is infinite, then $\langle x^2 \rangle$ is a proper subgroup. Therefore, $G$ is finite.
Thus, $G=\langle x \rangle$ is cyclic of order $m$. If $m=ab$, with $a,b>1$, then $\langle x^a \rangle$ is a proper, non-trivial subgroup. Therefore, $m$ is prime.