Determine the largest integer such that, for all integers and the following statement is true:
If is divisible by then is also 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.
x = a k + r and y = b k + r ′
if k ∣ x y + 1 then
( a k + r ) ( b k + r ′ ) ≡ r r ′ ≡ − 1 ( m o d k )
we need r ≡ − r ′ in order to have x + y = ( a k + r ) + b k + r ′ ≡ r + r ′ ≡ 0 ( m o d k ) .
in other words, for all r , such that G C D ( r , k ) = 1 , we must have
r 2 ≡ 1 ( m o d k )
If there exists r , for k , such that G C D ( r , k ) = 1 and r 2 < k , then r should have a multiplicative inverse other than itself and, consequently, 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 } in ascending order, and take the first element s , then we need to have s 2 > k . one can find that k ≤ 3 0 . for this, I used a sort of reason, too long to include.
Coming down from 3 0 , 2 4 is the first number, for which all r , S.T. G C D ( r , 2 4 ) = 1 , have the property r 2 ≡ 1 ( m o d 2 4 )