Consider an infinite sequence of positive integers which satisfies the property that the greatest common divisor of any two consecutive terms is strictly greater than the preceding term. Let N be the smallest possible value of the 2 0 1 4 th term of this sequence. Find the last three digits of 2 N .
Details and assumptions
- In other words, if
{
a
i
}
i
=
1
∞
is the sequence, we have
g
cd
(
a
i
,
a
i
+
1
)
>
a
i
−
1
∀
i
∈
N
>
1
,
and you have to find the smallest possible value of
a
2
0
1
4
.
- This problem is not original.
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.
Fantastic problem with beautiful solution.Thanks for posting it. Upvoted & liked!!
FANTASTIC PROBLEM! I found this sequence to satisfy the given conditions: 1 , 2 , 4 , 8 , … 2 n − 1 where a n = 2 n − 1 . This is obviously the smallest possible sequence, another example would be 1 , 3 , 9 , 2 7 , 8 1 , … . Since the sequence has to have the least possible common ratio, and the least integral first term, the first sequence ( 1 , 2 , 4 , 8 , … ) is indeed the smallest. Thus we want to calculate 2 × 2 2 0 1 4 − 1 ⟹ 2 × 2 2 0 1 3 ⟹ 2 2 0 1 4 . Now, evaluating 2 2 0 1 4 ( m o d 1 0 0 0 ) , we get 3 8 4 .
Your solution is not rigorous enough. I agree that the sequence { 2 i − 1 } i = 1 ∞ is indeed the minimal sequence, but you haven't proven it. The result is sort of intuitive, though.
Hint: Use strong induction. The base cases n = 1 , 2 are easy to handle, and the inductive step is just a bunch of casework.
I'll be posting my full solution shortly.
Log in to reply
Okay. Yeah tomorrow I'll go trough and do a rigorous proof. :D
Hey, Streejato Bhattacharya, there's a typo you will hate harshly. At the beginning of the inductive step, we have <p> a k + 1 > a k + a k − 1 ≥ 2 k − 1 + 2 k − 2 = 3 ⋅ 2 k − 2 </p> and not 3 ⋅ 2 k − 2 / 2 as you wrote. This ends easily the problem, because j ≤ 4 / 3 reduce the cases to the first. Am I wrong?
Log in to reply
Thanks for pointing the typo. However, this does does not end the problem, since 3 ⋅ 2 k − 2 < 4 ⋅ 2 k − 2 = 2 k .
i by mistake took the 2014th term to be 2^2014
Log in to reply
You still had two tries left, though. ;)
I did the same mistake at first. Later I got it correct. :)
Yeah, that sucks. :O
@Calvin Lin Now that this is a Level 5 NT, can I cash in my points for answering it right as soon as it was posted but before it got a rating? Thanks. :D
Good intuition but a rigorous proof would have been better.
Problem Loading...
Note Loading...
Set Loading...
We start with the following lemma.
Lemma: a n + 1 > a n + a n − 1 ∀ n ∈ N
Proof: Note that g cd ( a n + 1 , a n ) = g cd ( a n + 1 − a n , a n ) , and g cd ( a n + 1 − a n , a n ) ≤ a n + 1 − a n . Since g cd ( a n + 1 , a n ) > a n − 1 , we have that a n + 1 − a n > a n − 1 ⟹ a n + 1 > a n + a n − 1 , which is what we wanted. ■
Now we shall prove by strong induction that a n ≥ 2 n − 1 for all n ∈ N .
Base case: n = 1 , 2 , 3 , 4
n = 1 : We trivially have a 1 ≥ 1 = 2 0 , since all a i 's are defined to be positive.
n = 2 : Note that if a 2 = 1 , we would have g cd ( a 3 , a 2 ) = 1 = a 1 , which is not allowed. Thus, a 2 ≥ 2 = 2 1 .
n = 3 : By the lemma, a 3 > a 2 + a 1 ≥ 2 + 1 = 3 , so a 3 ≥ 4 = 2 2 .
n = 4 : Again, by the lemma, a 4 > a 3 + a 2 ≥ 4 + 2 = 6 , so a 4 ≥ 7 . However, if a 4 = 7 , we would have g cd ( a 4 , a 3 ) = 1 = a 1 , since a 4 > a 3 and 7 is a prime.
Our base cases are complete.
Inductive step
Assume our assertion is true for 1 , 2 , ⋯ , k − 1 , k for some k ∈ N , so a n ≥ 2 n − 1 for all n ≤ k . On the contrary, assume a k + 1 < 2 k . Note that, by the lemma, a k + 1 > a k + a k − 1 > 2 k − 1 + 2 k − 2 = 2 3 ⋅ 2 k − 1 . Let a k + 1 = j ⋅ g cd ( a k + 1 , a k ) . Since g cd ( a k + 1 , a k ) > 2 k − 2 , j ≤ 2 k − 2 a k + 1 < 2 k − 2 2 k = 4 .
This implies a k + 1 = g cd ( a k + 1 , a k ) ⟹ a k + 1 ∣ a k ⟹ a k + 1 ≤ a k , contradiction.
This implies a k + 1 = 2 g cd ( a k + 1 , a k ) , so 2 a k + 1 divides a k . Note that 2 a k < 2 a k + 1 < a k , which shows that this isn't possible (no integer x can have a divisor in the range ( 2 x , x ) ).
This implies a k + 1 = 3 g cd ( a k + 1 , a k ) . Note that a k < a k + 1 , so a k is either equal to g cd ( a k + 1 , a k ) or 2 g cd ( a k + 1 , a k ) . However, if a k = g cd ( a k + 1 , a k ) , a k + 1 = 3 a k > 3 ⋅ 2 k − 1 > 2 k , contradiction. Hence a k = 2 g cd ( a k + 1 , a k ) and a k + 1 = 2 3 a k .
Let a k = m g cd ( a k , a k − 1 ) . We can similarly reject the cases m = 1 , 2 .
Then, a k = 3 2 a k + 1 > 6 ⋅ 2 k − 3 ⟹ a k + 1 > 9 ⋅ 2 k − 3 > 8 ⋅ 2 k − 1 = 2 k , contradiction.
Then, a k − 1 < 2 4 g cd ( a k , a k − 1 ) = 2 g cd ( a k , a k − 1 ) , which implies a k − 1 = g cd ( a k − 1 , a k ) , or a k − 1 ∣ a k . Since a k − 1 < a k , a k ≥ 3 a k − 1 and a k + 1 = 2 3 a k ≥ 2 3 ⋅ 3 a k − 1 > 2 9 a k − 1 > 4 a k − 1 > 4 ⋅ 2 k − 2 = 2 k , contradiction.
This gives a k + 1 = 2 1 5 g cd ( a k , a k − 1 ) , and a k − 1 ≤ 3 a k + 1 = 2 5 g cd ( a k , a k − 1 ) , so a k − 1 is either g cd ( a k , a k − 1 ) or 2 g cd ( a k , a k − 1 ) . Let a k − 1 = i ⋅ g cd ( a k − 2 , a k − 3 ) . Note that a k − 1 divides 2 g cd ( a k , a k − 1 ) , so 2 g cd ( a k , a k − 1 ) = g ⋅ g cd ( a k − 2 , a k − 3 ) for some g ∈ N . Once again, we do casework on g . We can similarly reject the cases g = 1 , 2 .
Then, a k + 1 ≥ 4 7 5 g cd ( a k − 1 , a k − 2 ) > 4 7 5 ⋅ 2 k − 4 = 7 5 ⋅ 2 k − 6 > 6 4 ⋅ 2 k − 6 = 2 k , contradiction.
Then, similar to subcase 2, a k − 2 = g cd ( a k − 1 , a k − 2 ) , and a k + 1 ≥ 3 × 4 1 5 a k − 2 > 4 5 ⋅ 2 k − 4 > 1 6 ⋅ 2 k − 4 = 2 k , contradiction.
Now that we have covered all cases, our inductive step is complete. ■
We then have a n ≥ 2 n − 1 for all n ∈ N . The sequence { 2 i − 1 } i = 1 ∞ obviously satisfies the given condition, since g cd ( 2 i , 2 i + 1 ) = 2 i > 2 i − 1 ∀ i ∈ N . Thus, the minimum possible value of a 2 0 1 4 is 2 2 0 1 3 , so N = 2 2 0 1 3 ⟹ 2 N = 2 2 0 1 4 . Evaluating this modulo 1 0 0 0 , we find out that the last three digits of 2 N are 3 8 4 .
This problem is taken from ISL 2008 N3 .