Find all pairs of integers m>2,n>2m>2,n>2 such that there are infinitely many positive integers kk for which kn+k21k^{n}+k^{2}-1 divides km+k1k^{m}+k-1.