UNIVERSITY OF MALTA UNIVERSITY OF MALTA

FACULTY OF SCIENCE / I.T. BOARD OF STUDIES

Department of Mathematics

B.Sc.,B.Ed.,B.A. Year I / B.Sc.(I.T.) Year II

January Session 2000


MA141 Discrete Methods 25 January 2000

MCU202 Discrete Methods



MA141 (Faculties of Science, Education, Arts) students:

Answer THREE questions. Time allowed TWO hours.



MCU202 (I.T. Board) students:

Answer TWO questions. Time allowed ONE AND A HALF hours.


1. (a) Let A1,A2,¼,An denote finite sets and let ai (1 £ i £ n) denote the sum of the cardinalities of the intersections of the sets taken i at a time. Write down and prove the Inclusion-Exclusion Formula giving |A1ÈA2ȼÈAn| in terms of the ai.

(b) Find the number of five-letter words that use letters from the set {a,b,g} and such that none of these three letters is missing from any word.

(c) How many permutations are there of the digits 1,2,¼,100 in which no odd number appears in its natural position?

[In (c) you may give your answer as a summation of terms involving factorials.]





2. (a) You are given that the sequence ádn ñ satisfy the recurrence relation

dn = (n-1)(dn-1 + dn-2)     (n ³ 3).
You are also given that d1 = 0 and d2 = 1.

Now, let an = dn - n dn-1 for all n ³ 2. What is the value of a2? Show that an = -an-1. Deduce that an = (-1)n for all n ³ 2.

Hence write down a first-order recurrence relation for dn. Solve this recurrence relation. [You may leave your answer as a summation of terms involving factorials.]

What is the value of


lim
n®¥ 
dn
n!
?

3. Solve the following recurrence relation

an-5an-1+6an-2 = Kn     (n ³ 2)
given that a0 = a1 = 0 in the two cases: (i) K = 2, (ii) K = 4.





4. (a) Let p(n) denote the number of partitions of the positive integer n and let p(n|P) denote the number of partitions of n having property P. Write down the generating functions of each of the following

Show that

p(n| all parts are distinct) = p(n| all parts are odd)
and
p(n| no part appears more than twice) = p(n| no part is a multiple of 3).
[You may need to use 1+y = (1-y2)/(1-y) and 1+y+y2 = (1-y3)/(1-y).]



(b) Use generating functions to find


File translated from TEX by TTH, version 2.00.
On 29 Sep 2000, 13:16.