Why?

Find the sum of positive integers k 2 k\ge 2 such that:

If m , n m,n are positive integers and k m + n km+n is divisible by m + k n m+kn then m m is divisible by n n .


The answer is 10.

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

Let m = q n + r , 0 r < n m=q n+r, 0 \leq r < n . Then we want to find all k > 1 k > 1 such that if k m + n m + k n = n ( k q + 1 ) + k r n ( k + q ) + r = c \frac{k m + n}{m + k n} = \frac{n (k q+1)+k r}{n (k+q)+r} = c is an integer, then r = 0 r = 0 .

Note that k c = ( k 1 ) ( k + 1 ) n n ( k + q ) + r . k-c=\frac{(k-1) (k+1) n}{n (k+q)+r}.

Let g = g c d ( r , n ) , r 1 = r / g , n 1 = n / g g = gcd(r,n), r_1 = r/g, n_1 = n/g . Then c c is an integer iff

( k c ) / n 1 = ( k 1 ) ( k + 1 ) ( k + q ) n 1 + r 1 = a (k-c)/n_1 = \frac{(k-1)(k+1)}{(k+q) n_1 + r_1} = a

is an integer (since g c d ( n 1 , ( k + q ) n 1 + r 1 ) = g c d ( r 1 , n 1 ) = 1 gcd(n_1, (k+q) n_1 + r_1) = gcd(r_1, n_1) = 1 ). Solving for q q ,

q = a k n 1 a r 1 + k 2 1 a n 1 . q=\frac{-a k n_1-a r_1+k^2-1}{a n_1}.

Thus a ( k 2 1 ) a | (k^2-1) , and r 1 = ( 1 + k 2 ) / a m o d n 1 r_1 = (-1+k^2)/a \mod n_1 . We need g c d ( r 1 , n 1 ) = 1 gcd(r_1, n_1) = 1 and q > 0 q>0 . For q > 0 q>0 , it suffices to have n 1 < ( k 1 ) / a n_1 < (k-1)/a . So to show that k k is NOT a number we are looking for it suffices to take a (positive) factor a a of k 2 1 k^2-1 and choose a positive integer 2 < n 1 < ( k 1 ) / a 2 < n_1 < (k-1)/a such that g c d ( ( k 2 1 ) / a , n 1 ) = 1 gcd((k^2-1)/a,n_1) =1 . We can just take a = 1 a=1 . It is easy to prove that for each k > 6 k > 6 we can find such an n 1 n_1 (we can always just take a prime n 1 n_1 ). Furthermore, we can find examples that show that k = 4 , 6 k=4,6 do not satisfy the property stated in the question. Finally, it is easy to prove that k = 2 , 3 , 5 k=2,3,5 do satisfy this property (just use the logic used previously). So the answer is 2 + 3 + 5 = 10 2+3+5=10 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...