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 1997-September 1997


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-7an+1 + 10an = Kn        (n ³ 0)
given that a0 = a1 = 0, in the two cases: (i) K = 5, (ii) K = 4.



2. (a) Let A1,A2,...,An be finite sets, and let ai denote the sum of the cardinalities of the intersections of the sets taken i at a time. Prove that

|A1ÈA2È...ÈAn| = n
å
i = 1 
ai(-1)i+1.


(b) How many integers are there in the range 1 to 999 (inclusive) which are not divisible by any of 2, 5 or 23?


(c) Let S(n,k) denote the number of partitions of an n-set into k parts. Write down, without proof, the number of surjections from an n-set to a k-set in terms of n, k and S(n,k).


(d) Show that

S(n,k) = 1
k!
k
å
i = 0 
(-1)i æ
ç
è
k
i
ö
÷
ø
(k-i)n.
[Hint: Consider all functions from an n-set to a k-set K = {y1,...,yk}, and let Ai be the set of functions which do not have yi in their range. Then count surjections.]

Continued next page



3. (a) [In this question, p(n|P) denotes the number of partitions of the positive integer n having property P.]

Write down the generating function for p(n), the number of partitions of n.

Let k ³ 1 be fixed, let P1 be the property ``No part in the partition appears more than k times'' and let P2 be the property ``No part in the partition is divisible by k+1''. Prove that p(n|P1) = p(n|P2).


(b) Show that the number of partitions of n is equal to the number of partitions of 2n with the largest part equal to n.

Show also that the number of partitions of n is equal to the number of partitions of 2n into exactly n parts.

[Hint: For part (b) consider Ferrers Diagrams.]



4. (a) An experiment consists in tossing a coin until two heads appear (the two heads need not be consecutive). At the second head the experiment stops. Let an, (n ³ 2) be the number of possible experiments that end on the nth toss or sooner.

Find a recurrence relation for an and hence obtain the value of an.

[Hint: Consider separately those experiments that end exactly at the nth toss and those that end earlier.]


(b) Write down the coefficient of xk in the expansion of (1-x)-n in ascending powers of x.

Find the coefficients of x20 in each of the following products:


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