Isl 2003 n1
by Wolstenholme, Aug 6, 2014, 7:27 PM
Let
be a fixed integer greater than
. The sequence
,
,
,
is defined as follows:
if
and
if
.
Find the greatest
for which the sequence contains
consecutive terms divisible by
.
Solution:
I claim that the answer is
.
Lemma 1:
is impossible
Proof: Consider the sequence modulo
. Assume the contrary, so that there is a string of
consecutive
's somewhere in the sequence. Using the recursive formula, we find that the element of the sequence immediately before the string of
's is also a
. Continuing in this fashion, we have that every element of this sequence is eqivalent to
, contradiction.
Lemma 2:
is obtainable.
Proof: Again consider the sequence modulo
. Extend the sequence so that now the sequence is
so that the recursive formula holds for all
. Since
we have that
. It is then easy to see that
. Since the sequence is infinite and since there are only
sequences of length
whose elements are in
, we have because the sequence is defined recursively that the sequence taken modulo
is totally periodic (by the Pidgeonhole Principle). Therefore we can find a string of
's in the sequence where the subscripts of the
's are all positive, as desired.
Therefore the claim is proven.










Find the greatest



Solution:
I claim that the answer is

Lemma 1:

Proof: Consider the sequence modulo






Lemma 2:

Proof: Again consider the sequence modulo













Therefore the claim is proven.