How many real positive integers k satisfy k ∣ n 7 − n for all positive integer n ?
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.
Great! To answer this problem, we have to show that 42 is the GCD of all the terms.
It is not sufficient to simply show that 4 2 ∣ n 7 − n .
Argh I am being stupid lately... Only found prime factors and thought that was the answer. Stupid of me :(
We can break n 7 − n into polynomial factors as shown below
n 7 − n = n ( n 6 − 1 ) = n ( n 3 − 1 ) ( n 3 + 1 ) = n ( n − 1 ) ( n 2 + n + 1 ) ( n + 1 ) ( n 2 − n + 1 )
Note that the above expression contains factors n , ( n + 1 ) , ( n − 1 ) which are three consecutive non-negative integers for every positive integer n . It may be directly concluded that at least one of these integers has to be divisible by 3 and also that atmost two of them will definitely have the opposite parity making one of the integers even and thus divisible by 2 . Thus, we find that n 7 − n must be divisible by 6 .
Also, by Fermat's Little Theorem , we conclude that 7 ∣ n 7 − n for every integer n as 7 is a prime number.
Therefore, n 7 − n is divisible by 4 2 and all of its positive factors which are: { 1 , 2 , 3 , 6 , 7 , 1 4 , 2 1 , 4 2 } , giving us a total of 8 values for k .
How do you know that no larger number works?
Log in to reply
We can check for small values of n , eg-
n = 1 , n = 2 , n = 3 , 1 7 − 1 2 7 − 2 3 7 − 3 = = = 0 1 2 6 2 1 8 4 = = = 4 2 × 0 4 2 × 3 4 2 × 5 2
It is sufficient to check till n = 3 that gcd ( n 7 − n ) = 4 2 for n = 1 , 2 , 3 and so the clarification is done.
Is this the appropriate logic you were looking for?
By expanding, we get n 7 − n = ( n − 1 ) ( n ) ( n + 1 ) ( n 2 + n + 1 ) ( n 2 − n + 1 ) . We can clearly see that n 7 − n contain a product of three consecutive integer. Hence, it is divisible by 6 .
Now, let f ( n ) = n 7 − n . For n = 2 , we have f ( 2 ) = 1 2 6 which is divisible by 7 . Now, we want to prove that f ( n + 1 ) = ( n + 1 ) 7 − ( n + 1 ) is divisible by 7.
( n + 1 ) 7 − ( n + 1 ) = ( i = 0 ∑ 7 7 C i ⋅ n 7 − i ) − ( n + 1 ) = n 7 + ( i = 1 ∑ 5 7 C i ⋅ n 7 − i ) + ( i = 6 ∑ 7 7 C i ⋅ n 7 − i ) − n − 1 = ( i = 1 ∑ 5 7 C i ⋅ n 7 − i ) + ( n 7 − n ) + 7 n + 1 − 1 = Divisible by 7, because it contains 7 C i ( i = 1 ∑ 5 7 C i ⋅ n 7 − i ) + Always divisible by 7 ( n 7 − n ) + 7 n
We get, 7 ∣ n 7 − n .
Note that, if 6 ∣ n 7 − n and 7 ∣ n 7 − n , then 4 2 ∣ n 7 − n .
Since 4 2 has 8 divisors, then the answer is 8 , for k = ( 1 , 2 , 3 , 6 , 7 , 1 4 , 2 1 , 4 2 ) .
Problem Loading...
Note Loading...
Set Loading...
Testing for small values of n is a good approach here, because only the factors included in the result can still be a solution to k .
For n = 2 : 2 7 − 2 = 1 2 8 − 2 = 1 2 6 = 2 ∗ 3 2 ∗ 7 .
Now we only have to test, if the prime factors 2 , 3 and 7 are always contained in n 7 − n , and if the prime factor 3 can occur twice.
Testing for divisibility by 2:
Case n ≡ 0 ( mod 2 ) : 0 7 − 0 ≡ 0 ( mod 2 )
Case n ≡ 1 ( mod 2 ) : 1 7 − 1 ≡ 0 ( mod 2 )
Therefore, the factor 2 is always contained in n 7 − n .
Similarily, you can test for the prime factors 3 and 7 . Then you can see that these factors are also always contained in n 7 − n . Factoring n 7 − n to n ( n 3 − 1 ) ( n 3 + 1 ) helps seeing those factors.
Now we only have to check, whether the prime factor 3 is always contained twice.
For the case n ≡ 1 ( mod 3 ) , according to the factorization n ( n 3 − 1 ) ( n 3 + 1 ) of n 7 − n , the factor 3 is only contained once in n 7 − n , namely in ( n 3 − 1 ) . Therefore the only prime factors that occur for all n are 2 , 3 and 7 .
The amount of numbers that can be made with the prime factors 2 , 3 and 7 is eight, because every prime factor can either be part of the final number or not. Since every prime factor can be toggled, and there are three possible prime factors, the amount of numbers that can result from these prime factors alone is 2 3 = 8 .