Let for all nonnegative integers Find the maximum possible value of where are distinct nonnegative integers.
Note: Input if you believe there is no maximum, i.e. the expression can be arbitrarily large.
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.
We will first prove these two lemmas:
Lemma 1: g cd ( a m − 1 , a n − 1 ) = a g cd ( m , n ) − 1 .
Proof of Lemma 1: Let d = g cd ( a n − 1 , a m − 1 ) . WLOG we can assume that m ≥ n . Thus, we can write m = n q 1 + r 1 , where q 1 , r 1 are integers with q 1 > 0 and 0 ≤ r 1 < n . By the Euclidean Algorithm,
d = g cd ( a m − 1 , a n − 1 ) = g cd ( ( a m − 1 ) − ( a n q 1 − 1 ) , a n − 1 ) = g cd ( a n ( a m − n q 1 − 1 ) , a n − 1 ) = g cd ( a r 1 − 1 , a n − 1 ) .
Since n > r 1 , we can write n = q 2 r 1 + r 2 , so that by applying the Euclidean Algorithm again as shown above, we get d = g cd ( a r 2 − 1 , a r 1 − 1 ) . Eventually, after repeating this process some number of times, we end up with r k − 1 = q k + 1 r k so d = a r k − 1 . But note that r k is precisely the greatest common divisor of m and n , because the process that we used to reduce the exponents is the Euclidean Algorithm applied to m , n . Thus, r k = g cd ( m , n ) , and d = a g cd ( m , n ) − 1 . ■
Lemma 2: If m = n , then g cd ( F m , F n ) = 1 .
Proof of Lemma 2: For this proof, we utilize the identity
F n = F 0 F 1 ⋯ F n − 1 + 2 .
This can be proven with induction: for n = 1 , F 1 = 2 2 + 1 = 5 = 3 + 2 = F 0 + 2 , and if it's true for n = k , then
F k + 1 = 2 2 k + 1 + 1 = ( 2 2 k ) 2 − 1 + 2 = ( 2 2 k − 1 ) ( 2 2 k + 1 ) + 2 = F n ( F n − 2 ) + 2 = F 0 F 1 ⋯ F k + 2 ,
so it's also true for n = k + 1 .
Again, WLOG we assume that m > n . We have
g cd ( F m , F n ) = g cd ( F 0 F 1 ⋯ F n − 1 F n F n + 1 ⋯ F m − 1 + 2 , F n ) = g cd ( 2 , F n ) .
However, F n is always odd, so g cd ( 2 , F n ) = 1 , and we are done. ■
The problem is a direct application of these two lemmas. WLOG let a > b . Applying Lemmas 1 and 2, we have
g cd ( 2 0 1 8 F a − 1 , 2 0 1 8 F b − 1 ) = 2 0 1 8 g cd ( F a , F b ) − 1 = 2 0 1 8 1 − 1 = 2 0 1 7 .
In general, g cd ( n F a − 1 , n F b − 1 ) = n − 1 for all positive integers n greater than 1.