Let $a,b\in G$ be elements of a finite group $G$. We know $\operatorname{ord}(a)=m$ and $\operatorname{ord}(b)=n$. In dependence of $m$ and $n$ what are the possible values of $\operatorname{ord}(ab)$?
So strictly speaking I'm looking for a function $f:\mathbb N^2\to\mathcal{P}(\mathbb N)$.
Note that the restriction of $G$ being finite is no weakening of the problem. In case $n,m>1$ we could always add $\infty$ to the result of $f(m,n)$.