
An H. answered 04/04/22
Math professor with 15 years of teaching experience
Let G be the group defined by generators a,b, and relations a^{12}=b^{30}=1. Then H=<a> and K=<b> are two subgroups of G of orders 12 and 30, respectively. However, the subgroup of G generated by H and K is G itself, whose order is countably infinite: a and b do not commute, and they can generate elements of G given by non-reducible words of arbitrary finite length. It is then an easy exercise to check the desired conclusion.