Easy gcd

A sequence { x n } n = 0 \{x_n\}_{n=0}^{\infty} is defined by x 1 = 1 x_{1}=1 and x n + 1 = 2 x n 2 1 x_{n+1}=2x_{n}^{2}-1 for all n N + n \in \mathbb N^+ .

Determine the greatest common divisor of 2018 ! 2018! and x 2018 ! x_{2018!} .


The answer is 1.

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

We can prove by induction that x n = 1 x_n = 1 for all n N n \in \mathbb N . Given that x 1 = 1 x_1 = 1 , assuming that the claim is true for x n x_n , then x n + 1 = 2 x n 2 1 = 1 x_{n+1} = 2x_n^2 - 1 = 1 , proving that x n = 1 x_n = 1 for all n N n \in \mathbb N . Therefore, gcd ( 2018 ! , x 2018 ! ) = gcd ( 2018 ! , 1 ) = 1 \gcd (2018!, x_{2018!}) = \gcd(2018!, 1) = \boxed{1} .

I‘m sorry ,Sir, but you'd mistaken x n + 1 = 2 x n 2 1 x_{n+1}=2x_{n}^{\large 2}-1 for x n + 1 = 2 x n 1 x_{n+1}=2x_{n}-1 (though it dosen't matter...)

Haosen Chen - 3 years ago

Log in to reply

Thanks, it matters.

Chew-Seong Cheong - 3 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...