m 2 + n 2 + m + n m 3 + n 3 = 8 0 0
Find all ordered pairs of positive integers ( m , n ) satisfying the equation above, and enter your answer as ∑ ( m + n ) .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If we put N = m + n we derive N 3 − 3 m n N m n = 8 0 0 ( N 2 − 2 m n + N ) = 3 N − 1 6 0 0 N ( N 2 − 8 0 0 N − 8 0 0 ) and hence m , n are the roots of the quadratic X 2 − N X + 3 N − 1 6 0 0 N ( N 2 − 8 0 0 N − 8 0 0 ) ( X − 2 1 N ) 2 = 0 = 4 ( 3 N − 1 6 0 0 ) N ( 3 2 0 0 + 1 6 0 0 N − N 2 ) and thus L = N ( 3 N − 1 6 0 0 ) ( 3 2 0 0 + 1 6 0 0 N − N 2 ) must be a perfect square. For N a positive integer, the expression L is positive when 5 3 4 ≤ N ≤ 1 6 0 1 , and checking shows that L is a perfect square only when N = 1 6 0 0 . For this value of N , the roots of the quadratic are 7 8 0 , 8 2 0 , which are integers. Thus there are two solutions of the equation, namely ( 7 8 0 , 8 2 0 ) and ( 8 2 0 , 7 8 0 ) , which makes the answer 7 8 0 + 8 2 0 + 8 2 0 + 7 8 0 = 3 2 0 0 .
We can further proceed by determining factors of N ,so as to reduce the range until we can check manually.Quite similar to what you have done with k.
Did the same way as you Mark! This is a nice technique.Just narrow down the possible values by implementing the condition that root of discriminant should be less than N.Since smaller root should also be positive.
Mark, exactly how did you find the value of N ? By trial and error ?
Log in to reply
I typed
Select[Table[j,{j,534,1602}],IntegerQ[Sqrt[#(3#-1600)(3200 + 1600# - #^2)]] &]
into Mathematica. Although some Number Theory could cut the problem down to computer-independent size, checking a finite problem is something that computers are excellent at, and it saved me a huge amount of time
I think N cannot be 1602, because then the expression 3200 + 1600N - N^2 is negative.
How did you know to use m < 1 0 0 0 and n < 1 0 0 0 ?
Log in to reply
I try it for ( m , n ) = ( 1 0 0 0 , 1 0 0 0 ) and get total answer > 8 0 0 .Taking higher value than 1 0 0 0 gradually the answer increase. So, I think that, there are no any value for ( m , n ) greater than 1 0 0 0 . Actually, it's not mandatory to take m < 1 0 0 0 , n < 1 0 0 0 . To continue the loop I used it.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: General Diophantine Equations - Problem Solving
Equation is m 3 + n 3 = 8 0 0 ( m 2 + n 2 + m + n ) . ( 1 ) First note that m 3 + n 3 ≡ 5 0 . We claim that m + n ≡ 5 0 . If both of m , n are divisible by 5 this is true. Let 5 ∤ m and 5 ∤ n . Then we must have either m 3 ≡ 5 1 , n 3 ≡ 5 4 or m 3 ≡ 5 2 , n 3 ≡ 5 3 , which in turn give m ≡ 5 1 , n ≡ 5 4 or m ≡ 5 3 , n ≡ 5 2 respectively. Both of cases lead to m + n ≡ 5 0 .
On the other hand m 3 + n 3 ≡ 0 ( m o d 3 2 ) . Observe that m , n have same parity. If m , n are both odd, then m 2 − m n + n 2 is odd and this implies that m + n ≡ 0 ( m o d 3 2 ) . If m , n are both even, then take m = 2 m 1 and n = 2 n 1 and rewrite the equation ( 1 ) as m 1 3 + n 1 3 = 2 0 0 ( 2 m 1 2 + 2 n 1 2 + m 1 + n 1 ) ( 2 ) Therefore, m 1 , n 1 have same parity. If m 1 , n 1 are both odd, then m 1 + n 1 ≡ 0 ( m o d 1 6 ) and m + n ≡ 0 ( m o d 3 2 ) . If m 1 , n 1 are both even, then let m 1 = 2 m 2 and n 2 = 2 n 2 and rewrite the equation ( 2 ) as m 2 3 + n 2 3 = 5 0 ( 4 m 2 2 + 4 n 2 2 + m 2 + n 2 ) ( 3 ) If m 2 , n 2 are both odd, then m 2 + n 2 ≡ 0 ( m o d 4 ) and m + n ≡ 0 ( m o d 1 6 ) . If m 1 , n 1 are both even, then let m 2 = 2 m 3 and n 2 = 2 n 3 and rewrite the equation ( 3 ) as 2 ( m 3 3 + n 3 3 ) = 2 5 ( 8 m 3 2 + 8 n 3 2 + m 3 + n 3 ) Hence m 3 + n 3 ≡ 0 ( m o d 2 ) and m + n ≡ 0 ( m o d 1 6 ) . Therefore we have m + n ≡ 0 ( m o d 1 6 ) at least.
Using the conclusions m + n ≡ 5 0 and m + n ≡ 1 6 0 , one can write m + n = 8 0 k . Equation ( 1 ) gives 8 0 k ( 6 4 0 0 k 2 − 3 m ( 8 0 k − m ) ) = 8 0 0 ( 6 4 0 0 k 2 − 2 m ( 8 0 k − m ) + 8 0 k ) , or a quadratic in terms of m : ( 3 k − 2 0 ) m 2 − 8 0 k ( 3 k − 2 0 ) m + 8 0 0 k ( 8 k 2 − 8 0 k − 1 ) = 0 , The discriminant is 1 6 0 0 k 2 ( 3 k − 2 0 ) 2 − 8 0 0 k ( 3 k − 2 0 ) ( 8 k 2 − 8 0 k − 1 ) = 8 0 0 k ( 3 k − 2 0 ) ( − 2 k 2 + 4 0 k + 1 ) , which must be a square. Thus k ( 3 k − 2 0 ) ( − 2 k 2 + 4 0 k + 1 ) = 2 l 2 ( 4 ) Look mod 4 , then 2 k 4 + 3 k 2 ≡ 4 2 l 2 , which implies that k ≡ 0 ( m o d 4 ) and l is even. Write k = 4 K and l = 2 L . Equation ( 4 ) becomes 2 K ( 3 K − 5 ) ( − 3 2 K 2 + 1 6 0 K + 1 ) = L 2 ( 5 ) Look mod 5 , then 3 K 4 + K 2 ≡ 5 2 L 2 , which implies that K ≡ 0 ( m o d 5 ) or K ≡ 2 ( m o d 5 ) . From equation ( 5 ) one can get 1 < K < 6 , otherwise its LHS will be negative. Thus only possibilities for K are 2 , 5 and its easy too see that only K = 5 makes L an integer.
Finally m + n = 8 0 k = 3 2 0 K = 1 6 0 0 . Solving above quadratic in terms of m gives m = 8 2 0 , 7 8 0 . Therefore there are two solutions ( m , n ) = ( 8 2 0 , 7 8 0 ) , ( 7 8 0 , 8 2 0 ) , and gives the answer as 3 2 0 0 .