4 x 2 + x = 5 y 2 + y Suppose that x and y are natural numbers such that the equation above is fulfilled. If N is the sum of three smallest possible values of x − y , find sum of digits of 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.
Kazem, you are really good at solving Diophantine Equations. Can you suggest a good book on this subject ?
Log in to reply
Thank you Karthik, find this book: http://www.springer.com/gp/book/9780817645489
4 x 2 + x = 5 y 2 + y , where x and y are natural numbers.
Solve for x using the quadratic formula: x = 8 − 1 ± 8 0 y 2 + 1 6 y + 1
x cannot be negative so: x = 8 − 1 + 8 0 y 2 + 1 6 y + 1
If x is an integer, then 8 0 y 2 + 1 6 y + 1 ≡ 1 (mod 8 ) and 8 0 y 2 + 1 6 y + 1 = m 2 , where m is natural number.
Solve for y using the quadratic formula: y = 1 6 0 − 1 6 ± 3 2 0 m 2 − 6 4
y cannot be negative so: y = 1 6 0 − 1 6 + 3 2 0 m 2 − 6 4 = 2 0 − 2 + 5 m 2 − 1
If y is an integer then 5 m 2 − 1 = 2 (mod 2 0 ) and 5 m 2 − 1 = s 2 , where s is natural number.
5 m 2 − 1 = s 2 ⇒ s 2 − 5 m 2 = − 1
Now we have a Pell's Equation.
We can easily find that s = 2 , m = 1 is the fundamental solution.
By using the fundamental solution we can find that the 7 smallest solutions for m are ( 1 , 1 7 , 3 0 5 , 5 4 7 3 , 9 8 2 0 9 , 1 7 6 2 2 8 9 , 3 1 6 2 2 9 9 3 )
5 m 2 − 1 = 2 (mod 2 0 ) must be true so the 4 smallest solutions are ( 1 , 3 0 5 , 9 8 2 0 9 , 3 1 6 2 2 9 9 3 )
Now corresponding values of y are ( 0 , 3 4 , 1 0 9 8 0 , 3 5 3 5 5 5 8 ) .
y cannot be 0 so possible values are ( 3 4 , 1 0 9 8 0 , 3 5 3 5 5 5 8 )
8 0 y 2 + 1 6 y + 1 ≡ 1 (mod 8 ) is true for the 3 values of y
Now corresponding values of x are (38, 12276, 3952874)
Now N = ( 3 8 − 3 4 ) + ( 1 2 2 7 6 − 1 0 9 8 0 ) + ( 3 9 5 2 8 7 4 − 3 5 3 5 5 5 8 ) = 4 1 8 6 1 6
Sum of the digits of N = 4 + 1 + 8 + 6 + 1 + 6 = 2 6
Thanks for the solution :)
Problem Loading...
Note Loading...
Set Loading...
It is clear that x > y and x − y is a natural number. Let z = x − y , equation becomes 4 ( y + z ) 2 + y + z = 5 y 2 + y 4 y 2 + 8 y z + 4 z 2 + z = 5 y 2 y 2 − y ( 8 z ) − ( 4 z 2 + z ) = 0 This equation is a quadratic in terms of y and its discriminant must be a perfect square, hence Δ ′ = ( 4 z ) 2 + ( 4 z 2 + z ) = 2 0 z 2 + z = z ( 2 0 z + 1 ) = n 2 Since g cd ( z , 2 0 z + 1 ) = 1 and product of them is a perfect square both of them must be perfect squares which means z = b 2 2 0 z + 1 = a 2 Combining last two equations gives 2 0 b 2 + 1 = a 2 or a 2 − 2 0 b 2 = 1 Which is the well-known Pell's equation. Fundamental solution of the equation is ( a 1 , b 1 ) = ( 9 , 2 ) and a k = 2 1 ( ( 9 + 2 2 0 ) k + ( 9 − 2 2 0 ) k ) b k = 2 2 0 1 ( ( 9 + 2 2 0 ) k − ( 9 − 2 2 0 ) k ) Which gives us ( a 2 , b 2 ) = ( 1 6 1 , 3 6 ) and ( a 3 , b 3 ) = ( 2 8 8 9 , 6 4 6 ) . Therefore N = k = 1 ∑ 3 ( x − y ) k = k = 1 ∑ 3 z k = b 1 2 + b 2 2 + b 3 2 = 2 2 + 3 6 2 + 6 4 6 2 = 4 1 8 6 1 6 Sum of digits of 4 1 8 6 1 6 is 2 6 .