From the problem statement, it is obvious that k>m and k>n. We rewrite the given equation as
mn((m−1)!+1)((n−1)!+1)=k((k−1)!+1).
Since (k−1)! is divisible by m and n, (k−1)!+1 is not divisible by any factor of these numbers. Hence, k∤mn. Suppose n≥m. If m≥2, then
4(n!)24n!n!4n⋅(n−1)⋅(n−2)⋯2⋅14≥4m!n!=(2m!)(2n!)≥(m!+m)(n!+n)=k!+k>(mn)!≥(2n)!>(2n)⋅(2n−1)⋯(n+1)⋅n!⇒4n!>(2n)⋅(2n−1)⋯(n+1)>(2n)⋅(2n−1)⋯(2n−2)⋯(n+2)⋅(n+1)>n2n⋅n−12n−1⋯1n+1⇒contradictions for n≥2.
Let us show that for n≥2 this yields a contradiction. On the right-hand side, each factor except the first and last one is greater than the ones on the left. Now, let us show that the product of the first and last factors is still greater on the right-hand side: 4n⋅1>(2n)⋅(n+1)>6n.
Therefore, there is only one option m=1, hence,
2⋅n!+2n=k!+k≥(n+1)!+(n+1)>(n+1)!+n⇒n>n!(n−1)⇒n=1⇒m=1.
Then, we easily get k=2.