Académique Documents
Professionnel Documents
Culture Documents
This is a popular topic in competitions of all levels. It is also a very wide topic. However
some themes recur such as recursive definitions, arithmetic and geometric sequences. The
most important sequence is probably the ubiquitous Fibonacci sequence defined
recursively by f0 = 0, f1 = 1 and fn+1 = fn + fn-1. There is even a magazine, The Fibonacci
Quarterly, which is devoted solely to the study of this and related sequences. You should
immediately recognize this sequence: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on. Also read
Chapter 16 in the textbook which discusses the Fibonacci numbers.
How do we get an explicit formula for a recursively defined sequence? If the sequence is
an+1 = 2an with a1 = 3, say, then it is easy to see that the n-th term is given by the
(geometric) formula an = 32n-1. There is a general law: a sequence defined by a linear
recursion can be presented as sums of geometric sequences!
Example: If a0 = 2, a1 = 7 and an+1 = 7an 12an-1 then the so-called associated
characteristic equation is 2 = 7 12 with solutions 1 = 3 and 2 = 4. The general
solution then is an = a1n + b2n for some constants a and b. Plugging in the initial
conditions a0 = 2 and a1 = 7 yields a + b = 2 and 3a + 4b = 7 with solutions a = b = 1.
Hence the explicit formula for the given sequence is an = 3n + 4n, a sum of two geometric
sequences.
For the Fibonacci sequence we get using the same approach fn = 1/ 5 [ 1n+1 + 2n+1]
where 1 = (1+ 5 )/2 and 2 = (1- 5 )/2. This is called Binets formula. Note that 1
and 2 are the solutions to the characteristic equation 2 = + 1. This works even for
higher order linear recurrences for example the characteristic equation to an+3 = 2an+2 +
3an+1 + 4an is 3 = 22 + 3 + 4 and the sequence can be represented as a sum of three
geometric sequences.
But note that an explicit representation for the n-th term does not always make the
problem easier to deal with. You should always think about rearranging the terms (as in
example 7 below). Another important technique is to shift the index in the recursion (so
replace n by n-1 say) and combine the two equations (see example 1 or 4). One should
always compute the first few terms of the sequence to get a feel for what is going on. If
everything fails we make a table.
absolute term (2n) is not a constant. In such a situation keep applying the recursion to see
what happens (keep shifting the index):
a100 = a99 + 299
= a98 + 298 + 299
= a97 + 297 + 298 + 299
= a1 + 2(1 + 2 + + 99)
= 2 + 2(99100/2)
= 9902
Example 2 (BWM 1990.1.2):
The sequence a0, a1, a2, is defined by a0 = 0, a1 = a2 = 1 and an+2 + an-1 = 2(an+1 + an) for
all positive integers n. Show that all terms of this sequence are square numbers.
Solution:
One approach would be to solve the characteristic equation of degree 4 to get an explicit
representation for the terms. This is a bid daunting so we make a table and will probably
notice soon that an = fn2 where fn is the Fibonacci sequence. We will prove this, as so
often with sequence problems, by mathematical induction.
For n=0 and n=1 we have a0 = 0 = f0 and a1 = 1 = f1. Now we assume that ak = fk2 for k =
0, 1, 2, , n. Then an+1 = 2an + 2an-1 an-2 = 2fn2 + 2fn-12 fn-22
= 2fn2 + 2fn-12 (fn fn-1)2
= 2fn2 + 2fn-12 fn2 +2fnfn-1 fn-12
= fn2 + fn-12 +2fnfn-1
= (fn + fn-1)2
= fn+12.
Practice Problems:
1)
Given g0 = 3, g1 = -1 and gn = gn-2 gn-1 find g100 in terms of the Fibonacci numbers.
2)
Let 1 = a1 < a2 < a3 < be positive integers such that a2n = an + n for n 1. It is known
that an is a prime number if n is a prime number. Find a1993.
3)
Define two sequences of rational numbers as follows: let a0 = 2 and b0 = 3 and
recursively define an = an-12 / bn-1 and bn= bn-12 / an-1. Find b8 leaving it in exponential
form mn / pq.
4)
Show that all terms of the sequence a1 = 1, a2 = 1 and an = (an-12 + 2008)/an-2 are integers.
5)
The sequence an is defined by a1 = a2 = 1, an+2 = an+1 + 2an. The sequence bn is defined by
b1 = 1, b2 = 7, bn+2 = 2bn+1 + 3bn. Show that the only integer belonging to both sequences
is 1.