contestada

suppose that g is a group with more than one element and g has no proper, nontrivial subgroups. prove that |g| is prime. (do not assume at the outset that g is finite.)