103 4
103 4
(5%)
(5%)
2. Find a simpler expression for the generating function of the following sequences: (10%)
(a) an = n + 1
(b) an = 2n + 3n
3. Determine the sequence corresponding to the following functions: (10%)
(a)
2 + 3x 6x2
f (x) =
1 2x
(b)
f (x) =
2
1 4x2
4.
(a) Let f (x) be the generating function for the sequence a0 , a1 , a2, a3 , .
Prove that
1
f (x)
1x
a0 , a0 + a1 , a0 + a1 + a2 , a0 + a1 + a2 + a3 ,
(5%)
(b) Find the generating function (in closed form) for the sequence a0, a1 , a2 , ,
where an =
Pn 1
i=0 i! .
(5%)
6. Solve the following recurrence relation. (No final answer should involve
complex numbers.) (30%)
(a) an+3 + 6an+2 + 12an+1 + 8an = 0
(b) an 2an1 + 5an2 = 0
(c) an 5an1 + 6an2 = 2n + n
7. Solve the following recurrence relation by the method of generating function.
(10%)
an+2 3an+1 + 2an = 0, n 0, a0 = 1, a1 = 6.
8. In how many ways can 24 identical robots be assigned to 4 assembly lines
with at least 3 robots assigned to each line? (10%)
9. Please describe the superposition principle in solving linear equation. (10%)