Proving Infinitely Many Pairs of Positive Integers for Sum Equation

  • Thread starter Sam_
  • Start date
In summary, the conversation discussed the existence of infinitely many pairs of positive integers (m, n) such that (m + 1) / n + (n + 1) / m is a positive integer. The conversation explored various methods, including finding a relationship between m and n and analyzing modular equations, to prove or disprove the existence of infinite solutions. Ultimately, it was determined that there are only 6 unique solutions and the proof was presented for this conclusion.
  • #1
Sam_
15
0
Show that there are infinitely many pairs of positive integers (m, n) such that

(m + 1) / n + (n + 1) / m

is a positive integer.
 
Mathematics news on Phys.org
  • #2
The first thing I would do is to find a few values for m and n that do work (via inspection). Then I'd try to find a relationship between those values. Once you can find n in terms of m (or vice versa), then you can show that the expression must be an integer, given that the inputs are integers.

Never mind my suggestion. It is much easier said than done. This is extremely difficult.
 
Last edited:
  • #3
Firstly, by (m,n), I take it he means (m,n) =1, which is to say, they are relatively prime.
A trivial solution is m=n=1.

Given (m+1)/n + (n+1)/m =I, we have the modular equation m^2+m+n^2+n ==0 Mod mn

From this, m,n being relatively prime, we get n^2+n ==0 Mod m, reducing to n+1 ==0 Mod m, and similarly for n.

At this point we can-arbitrarily-assume that n is the larger, while we have:

[tex] m\geq n+1; n\geq m+1[/tex]

Thus we take n=m+1. The equation now is m+1/(m+1) + (m+2)/m = I, which gives that m divides 2. Thus m=1 n=2, or m=2; n=3.

So all solutions are 2/2 + 3/1 =4; and 3/3 +4/2=3. Which is not infinite solutions for (m,n)=1.
 
Last edited:
  • #4
There is also one more solution

(2, 2) is a valid solution. I keep thinking that there are more solutions, but I can't find any by inspection. I have found the following solutions, (1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (3, 2). I can't find any others, but I can't seem to prove that either.
 
  • #5
sennyk: (2, 2) is a valid solution.

It is true I overlooked (2,2), thinking only of relatively prime solutions. As far as which one, m or n, is larger, that was purely arbitrary, so either (both) way(s) is correct.
 
Last edited:
  • #6
I'm not sure that your proof covers it all

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).
 
Last edited:
  • #7
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.
 
Last edited:
  • #8
sennyk: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).

Actually the equation was (m+1)/n + (n+1)/m = I, where "I" represents integer. Furthermore you use those brackets[..] suggestive of Greatest Integer In, but anyway, i do now see what you mean, but you are just starting over on the problem.

You write:
"m - (n + 1) = ma/n We will use this as a basis for the rest."

And, "since a is not a multiple of n, m must be a multiple of n,"

a, you say, is equal to (m+1) modulo n. well, what if a+1 = n? (Which is pretty much the kind of cases we have been looking at.) Anyway, if m is a multiple of n that definitively changes the problem to something easier, but we have another problem, n might have factors split between a and m.
 
Last edited:
  • #9
robert Ihnot said:
sennyk: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).

Actually the equation was (m+1)/n + (n+1)/m = I, where "I" represents integer. Furthermore you use those brackets[..] suggestive of Greatest Integer In, but anyway, I can't see how you got such an equation.

The brackets don't mean the floor or any step function.

If m > n + 1, that means that (n + 1)/m is less than 1, so the remainder of (m + 1)/n plus (n + 1)/m must be equal to 1 if the entire expression evaluates to an integer.
 
  • #10
While refining my proof, I found other solutions (2, 6), (3, 6), (6, 2), (6, 3).

I have the full proof. There are only 10 solutions to this, not an infinite number. I'll latex it some time tonight when I get home.
 
Last edited:
  • #11
robert Ihnot said:
Firstly, by (m,n), I take it he means (m,n) =1, which is to say, they are relatively prime.


Why do you take it to mean that, he never says anything that implies that at all. He talks about pairs of integers (m,n) so (m,n) is nothing more than a pair of numbers.
 
  • #12
Why do you take it to mean that, he never says anything that implies that at all. He talks about pairs of integers (m,n) so (m,n) is nothing more than a pair of numbers.

O.K., that's right. I just thought he could have written m,n and generally when they write (m,n) they mean the common factor(?), or maybe they mean points on a graph, or maybe not.

Anyway, I think I solved it for (m,n)=1. I thought I got somewhere using that restriction.
 
Last edited:
  • #13
Split factors

robert Ihnot said:
n might have factors split between a and m.

I take that into account in my revised proof; If my algebra didn't fail me, I can show that m must be a multiple of n.

Ken
 
  • #14
sennyk: I take that into account in my revised proof; If my algebra didn't fail me, I can show that m must be a multiple of n.

If so, that's an important improvement.

Also, while its great you found more solutions, you have to clear up this point as well: "since n > 3, (we can find (analytically) all solutions where n is 1, 2, or 3), we can show that the expression..." Are you attempting to use the fact that n>3 ?
 
Last edited:
  • #15
Now as far as the case of a and the multiple ma giving (ma+1)/a + (a+1)/ma , we can reduce this to:

1/a + (a+1)/ma =(m+a+1)/ma. If we restrict this such that m>3, a>3, then we have to solve, m+a+1 equal to ma, or greater multiple of ma. So at the least this is m+a+1 = ma, or a+1 =m(a-1). If a was 4, this gives 5=3m or greater, but m exceeds 3. Similarly for greater values of a, so those cases are taken care of.

But this does not take care of the case where n=ca, m=cb, (a,b)=1, and c is a common factor greater than 1.
 
Last edited:
  • #16
Here goes...

[tex]m \in N^*[/tex]

[tex]n \in N^*[/tex]

[tex]\frac{m+1}{n}+\frac{n+1}{m} \in N^*[/tex]

case m = n:

[tex]\frac{n+1}{n}+\frac{n+1}{n} \in N^*[/tex]

[tex]1+\frac{1}{n}+1+\frac{1}{n} \in N^*[/tex]

[tex]2+\frac{2}{n} \in Z[/tex]

From this, n can only be 1 or 2.
Therefore, the only solutions for m = n are (1, 1), and (2, 2)

case m = n + 1

[tex]\frac{n+1+1}{n}+\frac{n+1}{n+1} \in N^*[/tex]

[tex]1+\frac{2}{n}+1 \in N^*[/tex]

[tex]2+\frac{2}{n} \in N^*[/tex]

From this, n can only be 1 or 2.
Therefore, the only solutions for m = n + 1 are (2, 1) and (3, 2).
And the only solutions for n = m + 1 are (1, 2) and (2, 3).

case m > n + 1

[tex]a= (m + 1) mod(n)[/tex]

[tex]\frac{a}{n} + \frac{n+1}{m} = 1[/tex]

[tex]ma + n(n+1) = mn[/tex]

[tex]n(n+1) = mn - ma[/tex]

[tex]n(n+1) = mn - ma[/tex]

[tex]\frac{n(n+1)}{n-a} = m[/tex]

This tells us that m has to be a multiple of n.

[tex] m = cn [/tex]

If m is a multiple of n, then a has to be 1.

[tex] \frac{1}{n} + \frac{n+1}{cn} = 1 [/tex]

[tex] c + n + 1 = cn [/tex]

[tex] n + 1 = cn - c [/tex]

[tex] \frac{n + 1}{n - 1} = c [/tex]

For n = 1; c is undefined.
For n = 2; c is 3; m is 6.
For n = 3; c is 2; m is 6.

Now we can prove that no other c's are integers.
For n = 4; c is 5/3 < 2.

[tex]\frac{dc}{dn}=\frac{-2}{(n-1)^2}[/tex]

That derivative is always negative on the interval [4, infinity). Thus c is always decreasing.

[tex]\displaystyle\lim_{n\to\infty}\frac{n+1}{n-1}=1[/tex]

Therefore, there are no other c's that are integers on the interval [4, infinity).

Thus the only answers for m > n + 1 are (6, 2) and (6, 3).
And the only answer for n > m + 1 are (2, 6) and (3, 6).

Finally, we have proven that the only solutions are (1,1), (1, 2), (2, 1), (2, 2), (2, 3), (2, 6), (3, 2), (3, 6), (6, 2) and (6, 3).

What do you think? Is this proof enough?
 
Last edited:
  • #17
[tex]\frac{n(n+1)}{n-a} = m[/tex] That's O.K., but this whole matter looks like slight of hand in order to confuse. Now we have an a in here, what is a? Well it's a=m-kn+1.

So we change that equation to [tex]\frac{n(n+1)}{(k+1)n-(m+1)}=m.[/tex]

So what do we get out of that? I don't know. Do we know how those factors divide up?
 
Last edited:
  • #18
Well, ...

When m > n + 1, then the second fraction is less than 1. "a" is the remainder of (m+1)/n. That's how I come up with the following equation.

[tex]\frac{a}{n} + \frac{n+1}{m} = 1[/tex]
 
  • #19
You are saying that [tex]\frac{n(n+1)}{(k+1)n-(m+1)}=m.[/tex] tells us that m has to be a multiple of n.

You are saying that the denominator has no common factor with n, well we can continue to subtract off n from the denominator and are left with -(m+1), which you say has no common factor with n. However we are back to square 1 with nothing shown.

Certainly we know about (m+1)/n + (n+1)/m =k+1 where m =kn, but by reducing the sum to 1 does not change anything. TAke (2,6), 6=3*2, as you have shown:
7/2+3/6 = 4. If you want to reduce it 7 =(3x2) +1, and we get 1/2+3/6=1. But this does not mean that every solution is of that form.
 
Last edited:
  • #20
robert Ihnot said:
You are saying that [tex]\frac{n(n+1)}{(k+1)n-(m+1)}=m.[/tex] tells us that m has to be a multiple of n.

You are saying that the denominator has no common factor with n, well we can continue to subtract off n from the denominator and are left with -(m+1), which you say has no common factor with n. However we are back to square 1 with nothing shown.

I don't come up with that denominator. How are you getting that?

My denominator is (n - a), where a is the remainder of (m+1)/n, m > n + 1. The domain of a is (0, 1, ..., n - 1). If a is zero, then m = n + 1, which is outside of our initial condition anyway. So the denominator will never be a multiple of n. It could be a factor of n. Are you saying that (n - a) could be a factor of n and not n + 1?

robert Ihnot said:
Certainly we know about (m+1)/n + (n+1)/m =k+1 where m =kn, but by reducing the sum to 1 does not change anything. TAke (2,6), 6=3*2, as you have shown:
7/2+3/6 = 4. If you want to reduce it 7 =(3x2) +1, and we get 1/2+3/6=1. But this does not mean that every solution is of that form.

I'm saying that every solution is of the form m = kn when m > n +1.I've taken care of the case of m = n, m = n + 1, and m > n + 1. The case of m < n is taken care of by swapping m with n and repeating the analysis. Thus I've handled the entire interval [1, infinity).
 
Last edited:
  • #21
You are correct. This only proves the solutions for m = kn. I just found another solution by letting a = n/2. I do think there are infinite solutions now. I think by letting a = n/t, that will yield infinite solutions. My new solutions found are (14, 6), (6, 21).

The equation,

[tex]m=\frac{n(n+1)}{n-a}[/tex] is working well; however, I'm not sure how to continue to prove that there are infinite solutions for m > n + 1.
 
Last edited:
  • #22
Great Work! That gives us a case where m and n have a common element, but one does not divide the other!
 
  • #23
Maybe continue by letting m = n + t? Another solution (90, 35)
 
  • #24
Pattern

I've noticed a pattern. It seems like there is some sort of recursive relationship.

(1, 2)
(2, 3)
(3, 6)
(6, 21)
(21, 77)
(77, 286)
 
  • #25
I have a theory. I think that there are infinite solutions where the expression (m+1)/n+(n+1)/m = 4.

All of these solutions equal 4.
(1, 2)
(2, 6)
(6, 21)
(21, 77)
(77, 286)
(286, 1066)
(1066, 3977)
(3977, 14841)
(14841, 55386)
(55386, 206702)
 
  • #26
(m+1)/n+(n+1)/m=3 also has an infinite number of solutions. I believe that is it.
 
  • #27
I have it. Suppose

[tex]\frac{m+1}n + \frac{n+1}m = Z[/tex]

where Z is some integer. Then

[tex]m^2 + m + n(n+1) = Zmn[/tex]

[tex]m^2 - (Zn - 1)m + n(n+1) = 0[/tex]

This has two roots

[tex]m^2 - (m_1 + m_2)m + m_1m_2 = 0[/tex]

Therefore, we have

[tex]m_1 + m_2 = Zn - 1[/tex]

But we know that

[tex]Z = \frac{m_1+1}n + \frac{n+1}{m_1}[/tex]

[tex]Zn = m_1 + 1 + \frac{n(n+1)}{m_1}[/tex]

and so

[tex]m_1 + m_2 = Zn - 1 = m_1 + \frac{n(n+1)}{m_1}[/tex]

which yields

[tex]m_2 = \frac{n(n+1)}{m_1}[/tex]

Now we just have to prove this is an integer. First, we know:

[tex]\frac{m_1+1}n + \frac{n+1}{m_1} = Z[/tex]

[tex]m_1(m_1+1) + n(n+1) = Zm_1n[/tex]

[tex]n(n+1) = Zm_1n - m_1(m_1+1)[/tex]

[tex]\frac{n(n+1)}{m_1} = Z - m_1 - 1[/tex]

which is an integer. QED

Edit: This doesn't technically prove that there are infinitely many solutions, because I haven't proved that m_2 is always greater than m_1...hmm...
 
Last edited:
  • #28
Suppose Z is a positive integer (if m and n are positive, this is always the case). Then suppose that m_1 < n. Then if Z > 2,

[tex]Zn - m_1 - 1 > Zn - n - 1 = (Z-1)n - 1 > n > m_1[/tex]

Now all we need is at least one case for Z > 2 and m < n, which Sennyk has already shown.

QED
 
  • #29
Relationship between solutions

I've found the recursive relationship between the solutions.

case [tex]\frac{m+1}{n}+\frac{n+1}{m}=4[/tex]

[tex]n_0=1, m_0=1[/tex]
[tex]n_1=1, m_1=2[/tex]
[tex]n_k=m_k_-_1, m_k=\frac{n_k(n_k+1)}{m_k_-_2}[/tex]

case [tex]\frac{m+1}{n}+\frac{n+1}{m}=3[/tex]

[tex]n_0=2, m_0=2[/tex]
[tex]n_1=2, m_1=3[/tex]
[tex]n_k=m_k_-_1, m_k=\frac{n_k(n_k+1)}{m_k_-_2}[/tex]

Maybe a proof by induction would work?
 
  • #30
Yeah, my above two posts give a proof by induction. That recursive relation shows up in the proof.

Part of the proof involves proving that

[tex]m_k = \frac{n_{k-1}(n_{k-1} + 1)}{m_{k-2}}[/tex]

is always an integer. Finally, one also has to prove that

[tex]m_k > m_{k-2}[/tex]

or else the attempt at "induction" might actually loop back on itself.
 
  • #31
Ben Niehoff said:
I have it. Suppose

[tex]m^2 - (Zn - 1)m + n(n+1) = 0[/tex]

This has two roots

[tex]m^2 - (m_1 + m_2) + m_1m_2 = 0[/tex]

I'm not seeing how you make this leap. Please explain.
 
  • #32
sennyk said:
I'm not seeing how you make this leap. Please explain.

Whoops, there's a typo. It should be:

[tex]m^2 - (m_1 + m_2)m + m_1m_2 = 0[/tex]

It's directly from the fundamental theorem of algebra. If a second-degree polynomial has roots r_1 and r_2, then

[tex]\begin{array}{rcl}(x - r_1)(x - r_2) & = & 0 \\ x^2 - r_1x - r_2x + r_1r_2 &=& 0 \\ x^2 - (r_1 + r_2)x + r_1r_2 &=& 0\end{array}[/tex]
 
  • #33
sennyk, while he did make a typo, you have got to look at symmetric functions as they apply to the roots of a polynominal.

Take the equation X^3-1 = 0. This equation has three roots x=1, [tex]X=\frac{-1\pm\sqrt-3}{2}[/tex]

Question: What is the sum of the three roots and what is their product?

Answer: In the equation X^3-bX^2+cX-d, the sum of the roots equals -b, and the product of the roots equals -d. Since b=0 the sum of the roots is 0 and since -d =1 the product of the roots is 1.

We get the above form from multiplying out (x-r)(x-s)(x-t), where r,s,t represent the three roots.
 
Last edited:
  • #34
The typo completely threw me off. I know how to find the roots of a polynomial. I'm not a complete amateur. :)
 
  • #35
O.K., sorry
 

FAQ: Proving Infinitely Many Pairs of Positive Integers for Sum Equation

What is the concept of "Proving Infinitely Many Pairs of Positive Integers for Sum Equation"?

Proving Infinitely Many Pairs of Positive Integers for Sum Equation is a mathematical concept that involves finding an infinite number of pairs of positive integers that satisfy a given sum equation. This means that there are an endless number of solutions to the equation.

Why is it important to prove infinitely many pairs of positive integers for sum equations?

Proving infinitely many pairs of positive integers for sum equations is important because it helps to establish the existence of an infinite number of solutions to a given equation. This can have significant implications in various fields of mathematics and can lead to the discovery of new patterns and relationships.

What is the process for proving infinitely many pairs of positive integers for sum equations?

The process for proving infinitely many pairs of positive integers for sum equations involves using mathematical techniques such as induction, contradiction, or construction. These techniques help to show that for any given equation, there are an infinite number of pairs of positive integers that satisfy it.

Are there any specific types of equations that can be used to prove infinitely many pairs of positive integers?

Yes, there are specific types of equations that are commonly used to prove infinitely many pairs of positive integers. These include equations involving prime numbers, perfect squares, and Fibonacci numbers. However, any equation that can be expressed in terms of positive integers can potentially be used to prove an infinite number of solutions.

What are some real-world applications of proving infinitely many pairs of positive integers for sum equations?

The concept of proving infinitely many pairs of positive integers for sum equations has applications in various fields such as number theory, cryptography, and computer science. It can also be used to solve problems related to optimization and finding patterns in data sets.

Similar threads

Replies
1
Views
893
Replies
2
Views
1K
Replies
1
Views
917
Replies
17
Views
2K
Replies
2
Views
1K
Replies
4
Views
1K
Replies
2
Views
1K
Back
Top