UNIVERSITY OF MALTA UNIVERSITY OF MALTA

FACULTY OF SCIENCE / I.T. BOARD OF STUDIES

Department of Mathematics

B.Sc.(Hons) Year I / B.Sc.(Hons) I.T. Year II

Supplementary Session, September 1999


MA141 Discrete Methods

MCU202 Combinatorial Theory



MA141 (Faculty of Science) students:

Answer THREE questions. Time allowed TWO hours.



MCU202 (I.T. Board) students:

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


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



2. (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) Two integers are said to be relatively prime if they have no common factors except for the factor 1. How many positive integers less than 500 are relatively prime to both 12 and 21?

(c) How many permutations are there of the digits 1,2,¼,9 in which none of the patterns 12, 34, 56 appears?



3. (a) Use generating functions to find the number of ways in which a sum of 20 can be obtained when 8 distinct dice are rolled.

(b) Let S(n,k) denote the number of partitions of an n-set into k parts. Show that

[Hint: For (iii) use induction on n.]



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) Using Ferrers diagrams, show that


File translated from TEX by TTH, version 2.00.
On 23 Dec 1999, 14:42.