Re: recurrent sequence
- From: "Jules" <julianrosen@xxxxxxxxx>
- Date: 10 Dec 2005 07:45:42 -0800
Chris wrote:
> Does anyone know the solution of the following problem?
>
> We define a sequence a(n) recursively as follows:
> a(1) and a(2) are arbitrary, and a(n) = abs (a(n-1) - a(n-2) (for n >=
> 3),
>
> where abs(x) is the absolute value of x.
>
> This sequence seems to be eventually periodic for arbitrary a(1) and a(2).
>
> If so,
>
> (1) how to prove it?;
>
> (2) what is the length of the periodic part (in terms of a(1) and a(2)).
>
> Thanks for any help or references.
>
> C. Wildhagen,
>
> Rottterdam, The Netherlands
It looks to me like the sequence will eventually be periodic with
period 3. Furthermore, eventually, the sequence will look like: 0, a,
a, 0, a, a, 0, a, a, ...
Here is my proof:
First, note that from the third term on, no matter what a(1) and a(2)
are, this will be a non-negative sequence.
If, at any point in the sequence you have a 0, then, if the last number
before the 0 was an a, then the sequence will be periodic from that
point, and will look like what I said it would.
Suppose, then, that there is never a 0 in the sequence. Define f(n) =
max{a(n), a(n+1)}. We claim that we can always find a subsequence
(b_n) such that f(b_n) is decreasing. Suppose there are two succesive
numbers a, b, in the sequence.
Case 1: a<b
Then the sequence will be, from that point, (a, b, b-a, a, ...).
Max{b-a, a} < Max{a,b}
Case 2: a=b
Then, (a, b, 0,...) and we are periodic
Case 3: a>b
Then, (a, b, a-b,...). Max{b, a-b}<Max{a,b}
So, f(n) is decreasing (unless there is a 0 term). So, either we get a
0 term, or f(n) eventually equals 0. If f(n) = 0, then we are still
guaranteed a 0 term.
.
- References:
- recurrent sequence
- From: Chris
- recurrent sequence
- Prev by Date: Re: Can I have fries and a calculator with that?
- Next by Date: Re: Average chord
- Previous by thread: Re: recurrent sequence
- Next by thread: Re: recurrent sequence
- Index(es):
Relevant Pages
|