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

January Session 1999


MA141 Discrete Methods 25 January 1999

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. (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) How many permutations are there of the digits 1,2,¼,9 in which none of the patterns 23, 56, 89 appears?

(c) How many permutations are there of the digits 1,2,¼,9 in which exactly five digits are in their natural position?


[You may leave factorials in your answers but any results on derangements must be derived and written out in full.]



2. (a) Solve the following recurrence relation

an = n2 an-1 + [(n+1)!]2     (n ³ 1)
given that a0 = 1.


[You may use the fact that å1n i2 = n(n+1)(2n+1)/6.]

(b) Solve the recurrence relation

an-5an-1+6an-2 = 3n     (n ³ 2)
given that a0 = a1 = 0.



3. (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



4. (a) Let S(n,k) denote the number of partitions of an n-set into k parts (subsets). Write down a recurrence relation giving S(n,k) in terms of S(n-1,k-1) and S(n-1,k). Find the values of S(6,k), 1 £ k £ 6.

(b) In how many ways can six golf balls labelled 1 to 6 be put into four identical boxes so that at most one box is empty.

(c) Using induction on n or otherwise show that, for n ³ 2,

S(n,2) = 2n-1-1.


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