Diophantine Equation #1

For a tuple of positive integers ( x , y , n ) (x, y, n) , the following relationship is true:

1 x + 1 y = 1 n \frac{1}{x} + \frac{1}{y} = \frac{1}{n}

How many distinct solutions ( x , y , n ) (x, y, n) exist for n = 12345678987654321 n = 12345678987654321 ? A distinct solution means that ( x , y , n ) (x, y, n) and ( y , x , n ) (y, x, n) count as the same solution (for example, ( 6 , 30 , 5 ) (6, 30, 5) is the same as ( 30 , 6 , 5 ) (30, 6, 5) ).


The answer is 113.

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.

1 solution

Firstly, n n should be factored to help with calculations later on. n = 12345678987654321 = 3 4 × 3 7 2 × 33366 7 2 n = 12345678987654321 = 3^{4} \times 37^{2} \times 333667 ^{2} .

Now for some algebra:

1 n = 1 x + 1 y \frac{1}{n} = \frac{1}{x} + \frac{1}{y}

n = 1 1 x + 1 y n = \frac{1}{\frac{1}{x} + \frac{1}{y}}

n = x y x + y n = \frac{xy}{x + y}

n x + n y = x y nx + ny = xy

Note that x + y x + y can never equal zero for positive integers x x and y y , so that last step is acceptable.

n x + n y x y n 2 = n 2 nx + ny - xy - n^{2}= -n^{2}

( x n ) ( n y ) = n 2 (x - n)(n - y)= -n^{2}

y = n + n 2 x n y =n +\frac{n^{2}}{x - n}

For y y to be a positive integer, x x must be greater than n n and x n x - n must be a factor of n 2 n^{2} . Let k = x n k = x - n ; now the problem becomes finding the number of factors k k of n 2 n^{2} . Since n = 3 4 × 3 7 2 × 33366 7 2 n = 3^{4} \times 37^{2} \times 333667 ^{2} , n 2 = 3 8 × 3 7 4 × 33366 7 4 n^{2} = 3^{8} \times 37^{4} \times 333667 ^{4} . The number of factors of n 2 n^{2} is thus ( 8 + 1 ) × ( 4 + 1 ) × ( 4 + 1 ) = 225 (8 + 1) \times (4 + 1) \times (4 + 1) = 225 . But the problem is asking for distinct solutions, so the number of solutions ( x , y , n ) (x, y, n) is 1 + 225 1 2 = 113 1 + \frac{225 - 1}{2} = \boxed{113} . The number of distinct solutions is equal to the tuple ( 2 n , 2 n , n ) (2n, 2n, n) and half of all the other tuples because of symmetry.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...