Let $G$, $H$, and $K$ be groups. Under what conditions does $G\times K\cong H\times K$ imply $G\cong H$?
This can easily be shown to be true when they are finitely generated abelian groups, and we can find counterexamples when $K$ is not finitely generated ($\{0\}\times\mathbb{R}\cong\mathbb{R}\times\mathbb{R}$ but $\{0\}\ncong\mathbb{R}$), but under what other circumstances is it true or false?