$A= \{1,2,3,...m\}$ $B= \{1,2,3,...n\}$
The relation from $A$ to $B$ is onto such that Range($R$) $= B$
Find Find number of relations $R$ from $A$ to $B$ that are onto
since for every $b$ in $B$ must be in relation with every $a$ in $A$ then I figured there must be $m^{n}$ $R$ relations that are onto but I can be completely wrong
How can I approach this question?