Unit 3 Generating Functions and Recurrence Relations
Unit 3 Generating Functions and Recurrence Relations
1. Determine the sequence an whose recurrence relation is an = an−1 + 3 with initial condition
a1 = 2.
1. Determine the sequence whose recurrence relation is given by C n = 3Cn −1 − 2Cn −2 with
initial conditions C1 = 5, C2 = 3.
2. Determine the sequence whose recurrence relation is a n = 2a n −1 − an −2 with initial
conditions a1 = 1.5, a2 = 3.
3. Determine the sequence whose recurrence relation is a n = 4a n −1 + 5an −2 with a1 = 2 & a2
= 6.
4. What is the solution of the following recurrence relation with initial conditions a 0 = 1
and a1 = 6 ?
a
i. n = 6a n −1 − 9an −2
5. Find the solution of recurrence relation an = 5an−1 − 6an−2 + 7n
6. Solve the recurrence relation dn = 4 (dn −1 − dn −2 ) subject to the initial conditions d 0 =
1 = d1.
Page | 1
Unit 7 Generating Functions and Recurrence Relations 4 Hrs
(i)
(ii)
(iii)
(iv)
Generating Functions
1. Find generating function for sequence 1, a, a2 …… where a is a fixed constant.
2. Use generating function an = 3an−1 + 2, a0 = 1.
3. Find formula for sequences with following first five terms:
(i) 1, 1/2, 1/4, 1/8, 1/16
(ii) 1, 3, 5, 7, 9
(iii) 1, −1, 1, −1, 1
4. Let G(x) be generating function for sequence {aK}. What is generating function for
following sequence?
(i) 0, 0, 0, a3, a4, a5,……….
(ii) 0, 0, 0, 0, a4, a5,……..……..
(iii) a4, a5, a6,…………………..
(iv)0, 0, 0, a0, a1, a2,………….
(v) 0, 0, 0, 0, a0, a1,………
5. What are the generating functions for the following sequences?
(i) 1, 1, 1, 1, 1, 1
(ii) 1, 1, 1, 1, . . .
6. Conjecture a simple formula for an if the first 10 terms of the sequence {an} are 1,
7, 25, 79, 241, 727, 2185, 6559, 19687, 59047.
Page | 2
Unit 7 Generating Functions and Recurrence Relations 4 Hrs
Page | 3