Determine the largest such integer

Determine the largest integer k k such that, for all integers x x and y , y, the following statement is true:

If x y + 1 xy+ 1 is divisible by k , k, then x + y x+y is also divisible by k . k.


The answer is 24.

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

x = a k + r x=ak+r and y = b k + r y=bk+r'

if k x y + 1 k|xy+1 then

( a k + r ) ( b k + r ) r r 1 ( m o d k ) (ak+r)(bk+r')\equiv rr'\equiv -1 \ (mod \ k)

we need r r r \equiv -r' in order to have x + y = ( a k + r ) + b k + r r + r 0 ( m o d k ) x+y=(ak+r)+bk+r' \equiv r+r' \equiv 0 \ (mod \ k) .

in other words, for all r r , such that G C D ( r , k ) = 1 GCD(r,k)=1 , we must have

r 2 1 ( m o d k ) r^2\equiv 1 \ (mod \ k)

If there exists r r , for k k , such that G C D ( r , k ) = 1 GCD(r,k)=1 and r 2 < k r^2 < k , then r r should have a multiplicative inverse other than itself and, consequently, k k is not what we are looking. We use this fact to find the largest possible candidates that may qualify as the final solution.

So if we sort the set { x N G C D ( x , k ) = 1 , x < k } { 1 } \{x \in \mathbb{N}|GCD(x,k)=1,x<k\}-\{1\} in ascending order, and take the first element s s , then we need to have s 2 > k s^2>k . one can find that k 30 k \leq 30 . for this, I used a sort of reason, too long to include.

Coming down from 30 30 , 24 24 is the first number, for which all r r , S.T. G C D ( r , 24 ) = 1 GCD(r,24)=1 , have the property r 2 1 ( m o d 24 ) r^2\equiv 1 \ (mod 24)

1 pending report

Vote up reports you agree with

×

Problem Loading...

Note Loading...

Set Loading...