Find the sum of positive integers such that:
If are positive integers and is divisible by then is divisible by .
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.
Let m = q n + r , 0 ≤ r < n . Then we want to find all k > 1 such that if m + k n k m + n = n ( k + q ) + r n ( k q + 1 ) + k r = c is an integer, then r = 0 .
Note that k − c = n ( k + q ) + r ( k − 1 ) ( k + 1 ) n .
Let g = g c d ( r , n ) , r 1 = r / g , n 1 = n / g . Then c is an integer iff
( k − c ) / n 1 = ( k + q ) n 1 + r 1 ( k − 1 ) ( k + 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 ). Solving for q ,
q = a n 1 − a k n 1 − a r 1 + k 2 − 1 .
Thus a ∣ ( k 2 − 1 ) , and r 1 = ( − 1 + k 2 ) / a m o d n 1 . We need g c d ( r 1 , n 1 ) = 1 and q > 0 . For q > 0 , it suffices to have n 1 < ( k − 1 ) / a . So to show that k is NOT a number we are looking for it suffices to take a (positive) factor a of k 2 − 1 and choose a positive integer 2 < n 1 < ( k − 1 ) / a such that g c d ( ( k 2 − 1 ) / a , n 1 ) = 1 . We can just take a = 1 . It is easy to prove that for each k > 6 we can find such an n 1 (we can always just take a prime n 1 ). Furthermore, we can find examples that show that k = 4 , 6 do not satisfy the property stated in the question. Finally, it is easy to prove that k = 2 , 3 , 5 do satisfy this property (just use the logic used previously). So the answer is 2 + 3 + 5 = 1 0 .