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 1998


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 sets taken i at a time. Write down, without proof, 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) Suppose there are m boxes labelled 1,2,...,m respectively and n balls (m ³ n) labelled 1,2,....n respectively. The balls are put into the boxes such that no two balls are in the same box and no ball labelled i is put into box i, for all 1 £ i £ n. Show that the number of ways in which this can be done is

n
å
i = 0 
(-1)i æ
ç
è
n
i
ö
÷
ø
(m-i)!
(m-n)!
.



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) Suppose that n straight lines are drawn in the plane such that no two lines are parallel and no three lines pass through the same point. Find the number of regions into which the plane is divided by these lines.

(b) Solve the following recurrence relation

an+1 = ( n+1
n
)an + n + 1        (n ³ 1)
given that a1 = 5.


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