I want to prove that if a group has no subgroups other than the identity and itself, then the order of the group is a prime number.
A hint would be appreciated. Is there any theorem on the relation of the order of the subgroup and that of the group?
Note that the finiteness is not given, unlike in the linked question.