It is known that the number of homomorphisms from a group $F$ to $G$ divisible by greatest common divisor order and exponent $F/[F,F]$. We investigate satisfying some natural conditions such as injectivity or surjectivity. The simplest nontrivial corollary our results following fact: {\it in any finite group, generating pairs $(x,y)$ $x^3=1=y^5$, multiple 15 $[G,G]\cdot\{g^{15}\;|\;g\in G\}$.