A sequence { x n } n = 0 ∞ is defined by x 1 = 2 and x n + 1 = 2 x n 2 − 1 for all n ∈ N + .
Determine the greatest common divisor of 1 7 2 9 ! and x 1 7 2 9 ! .
Note: You could easily get the answer if x 1 = 1 , but unfortunately here is given x 1 = 2 . So think twice before you choose the answer.
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.
Nice solution! In Remark 1,assume p 1 < p 2 < ⋯ < p s are all the primes,then x ( p 1 p 2 . . . p s ) must have a new prime factor by our conclusion,which is a contradiction. In Remark 2,we assume p ∣ x p for prime p.Then x a ≡ x b (nonzero) m o d p cannot hold for any 1 ≤ a < b ≤ p − 1 (Otherwise x p + b − a ≡ x p ≡ 0 ( m o d p ) ,which is a contrdiction).So there exists ( i 1 , i 2 , . . . , i p − 1 ) as a permutation of ( 1 , 2 , . . . , p − 1 ) such that x i j ≡ j ( m o d p ) .But x k ≡ 1 ( m o d p ) ( 1 ≤ k ≤ p − 1 ) gives x k + 1 ≡ 1 ( m o d p ) ,which means k = p − 1 ,and so x p ≡ 1 ( m o d p ) ,contradiction.Thereby the inequality is actually strict.
Problem Loading...
Note Loading...
Set Loading...
Suppose x a ≡ x b mod p for some p , with a < b . Then the sequence repeats after b : x b + 1 ≡ x a + 1 , x b + 2 ≡ x a + 2 , etc.
Now suppose x 1 , x 2 , … , x p are all nonzero mod p . By the pigeonhole principle , there are two distinct a , b such that x a ≡ x b mod p , 1 ≤ a < b ≤ p . But then the values of the sequence repeat, so the sequence is never divisible by p .
Note also that if x k ≡ 0 mod p , then x k + 1 ≡ − 1 , x k + 2 ≡ 1 , and x m ≡ 1 for all m ≥ k + 3 .
The upshot is that, for any positive integer p ≥ 2 , there is at most one value of the sequence that is divisible by p , and that value must occur in the first p terms if it occurs at all. That is, x n is only divisible by integers that are ≥ n .
(Remark 1: This gives a proof of the infinitude of primes, now that I think about it!
Remark 2: With a little thought, you can show that the inequality is actually strict.)
Anyway, to solve the problem, note that if n = 1 7 2 9 ! , x n is only divisible by primes ≥ 1 7 2 9 ! , but no such primes divide 1 7 2 9 ! , so x 1 7 2 9 ! and 1 7 2 9 ! have no common prime factors, and hence their gcd is 1 .
(Remark 3: I used that 1 7 2 9 ! wasn't prime, but if you believe Remark 2, that's not necessary; in fact gcd ( n , x n ) = 1 for all n . )