I think I've got it.
sennyk said:
Wouldn't you have to prove that [(m+1) mod n]/n + (n+1)/m cannot be equal to 1? (assuming that m > n + 1).
I think that I have proven that this doesn't have infinite solutions. I think I have proven that it only has 6 unique solutions.
(m + 1)mod n will be a constant between 0 and n - 1. We'll just call that "a".
Let's restrict m & n to both be > 3, because we have found all solution less than 4.
a/n + (n + 1)/m = 1 If this is possible (for a positive integer a, m, and n) then we can have infinite solutions.
ma + n(n + 1) = mn
n(n + 1) - mn = -ma
n(n + 1 - m) = -ma
n + 1 - m = -ma/n
m - (n + 1) = ma/n We will use this as a basis for the rest
since a is not a multiple of n, m must be a multiple of n
let m = cn
cn - (n + 1) = ca
cn - ca = n + 1
c(n - a) = n + 1
c = (n + 1)/(n - a)
now we just have to find the values of a that will allow (n + 1)/(n - a) to be an integer.
a can be n - 1, n - 2, ... 0
since n > 3, (we can find (analytically) all solutions where n is 1, 2, or 3), we can show that the expression
(n+1)/(n-a) is less than 2 and greater than 1, therefore, there are not infinite solutions.
we know that a < n, therefore
lim n->infinity (n+1)/(n-a) = 1
for n = 4 we have 5/(4 - a), for values of a that are not equal to n - 1, this will never be an integer.
Now we're left with proving that a cannot be = n - 1, for n in the domain of [4, infinity).
We know that m is a multiple of n. We know that m > n + 1; the original equation was
(m + 1)/n + (n + 1)/m
(cn + 1)/n + (n + 1)/(cn)
We are only interested in the first term. We can show that the first term cannot have a remainder of n - 1, n > 3.
(cn + 1)/n = c + 1/n. Since m is a multiple of n, the remainder cannot be n - 1, n > 3. It is always 1.
Thus there are no solutions when n > 4 or m for that matter.
Does this proof make sense? Someone with a pure math background, please check my work. This problem is very very very interesting.