Determine all integers
![k\ge 2](/media/m/9/f/b/9fbc5ba926eefa4fd27304afe8224b52.png)
such that for all pairs
![(m,\,n)](/media/m/c/c/0/cc0c9804a0d0d22ba6617d14ecb45ef0.png)
of different positive integers not greater than
![k](/media/m/f/1/3/f135be660b73381aa6bec048f0f79afc.png)
, the number
![n^{n-1}-m^{m-1}](/media/m/0/b/c/0bc8d7568d47fec5327237db1036c7a2.png)
is not divisible by
![k](/media/m/f/1/3/f135be660b73381aa6bec048f0f79afc.png)
.
%V0
Determine all integers $k\ge 2$ such that for all pairs $(m,\,n)$ of different positive integers not greater than $k$, the number $n^{n-1}-m^{m-1}$ is not divisible by $k$.