Let $G$ be a group of order $15$ and $A$ and $B$ subgroups of $G$ of order $5$ and $3$, respectively. Show that $G= AB.$
I tried solving the problem:
Since $o(A),o(B)$ are prime, so, $A,B$ are cyclic. Also, $o(A)\neq o(B)$ and thus they are unique, due to which $A\cap B=\{e\}.$ Also, $|AB|=15=|G|.$ Now, $G$ is cyclic and $A,B$ are normal subgroups.
But I cant proceed further as there's no gurantee that there will be no repitition in $\{ab,\forall a\in A,B\in B\}$ ? I don't know, how to proceed further,i.e the short question how to prove $A,B$ as internal direct product of $G$?