Let and be positive integers with such that for all integers
Find the smallest possible value of
Clarification: denotes the factorial notation. For example, .
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.
The prime factorization of 7 ! is 5 0 4 0 = 2 4 ⋅ 3 2 ⋅ 5 ⋅ 7 .
Suppose 7 ! divides x a − x b = x b ( x a − b − 1 ) for all x . If x = 2 , the highest power of 2 dividing 7 ! must be ≤ the highest power of 2 dividing 2 b ( 2 a − b − 1 ) . Since 2 a − b − 1 is odd, and the highest power of 2 dividing 7 ! is 2 4 , we must have b ≥ 4 .
Now, if gcd ( x , 7 ! ) = 1 , then 7 ! ∣ x b ( x a − b − 1 ) implies 7 ! ∣ ( x a − b − 1 ) . Since this is true for all such x , then a − b must be divisible by the Carmichael number λ ( 7 ! ) . By properties of λ (which follow from the Chinese Remainder Theorem and some facts about the arithmetic modulo prime powers--details are in the wiki ), λ ( 7 ! ) = lcm ( λ ( 2 4 ) , λ ( 3 2 ) , λ ( 5 ) , λ ( 7 ) ) = lcm ( 4 , 6 , 4 , 6 ) = 1 2 . So 1 2 ∣ ( a − b ) .
The smallest a and b that satisfy these requirements is a = 1 6 , b = 4 . All that remains is to prove that this choice of a and b satisfy the conditions of the problem.
For any integer x , consider the prime powers p k in the factorization of 7 ! . If p ∣ x , then p k ∣ x 4 (because k ≤ 4 ) . If p ∤ x , then x 1 2 ≡ 1 ( m o d p k ) because λ ( p k ) divides 1 2 , as seen above. So in all cases, either x 4 or x 1 2 − 1 is divisible by p k . So p k ∣ x 4 ( x 1 2 − 1 ) . Since this is true for all the p k , their product divides x 4 ( x 1 2 − 1 ) as well, so 7 ! ∣ x 4 ( x 1 2 − 1 ) .
So the answer is 1 6 + 4 = 2 0 .
In general, if we replace 7 ! by any positive integer n , then the minimum a + b is obtained by letting b equal the maximum exponent of all the primes in the factorization of n , and a = b + λ ( n ) . The proof is exactly the same.