Solution:
First let us notice that for m>n⩾3 we have nm>mn, so m+nnm−mn>0. Indeed, the function f(x)=xlnx is decreasing for x>e since f′(x)=x21−lnx<0, so nlnn>mlnm, i.e. mlnn>nlnm, and from there nm=emlnn>enlnm=mn.
For n=2 we may take m=10. Suppose that n>2. We have
nm−mn≡nm−(−n)n=nn(nm−n−(−1)n)(modm+n)
We will look for m in the form m=knn−n (k∈N). Then m+n=knn∣nm−mn if and only if k∣nm−n−(−1)n.
(1∘) If n is odd, then nm−n−(−1)n is even, so we can take k=2, i.e. m=2nn−n.
(2∘) If n is even, then nm−n−(−1)n=nm−n−1 is divisible by n−1, so we can take k=n−1, i.e. m=(n−1)nn−n.