




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Last Name:
First Name:
Student Number:
Before the test begins, enter the information above. Read all the questions before starting. You are not allowed to write for the first two minutes of the test. Answer the questions in the order that best suits your strengths, taking into account the number of marks alloted to each question. Full marks will be reserved for answers that are correct in all essential details. Remember that your answers should be in a form that another student could understand without undue effort: a poorly expressed but correct result is not sufficient. This booklet should contain numbered pages 1 to 8, this page being page 1. As soon as the test begins, check to make sure you have all the pages and raise your hand if you do not.
1 2 3 4 5 6 7 Total
(a) 3 marks Define the generalised binomial coefficient
(n i
for real n and integer i ≥ 0. (b) 1 mark State Newton’s binomial theorem. (c) 5 marks Using Newton’s binomial theorem, determine the number of ways I can distribute the candies to the children so that no child goes away without a candy. (d) 3 marks Suppose the children knock on my door in 3 groups of 5. How many ways can I distribute candies to the children so that each group of children receives a total of 20 candies and no child goes away without a candy?
(a) 4 marks The number of partitions of the positive integer n is the coefficient of xn^ in
i=
1 − xi^
(b) 4 marks The general solution to the recurrence relation an − 2 an− 1 + an− 2 = n has the form an = A + Bn + Cn^2.
(c) 4 marks If there is a trail between two distinct vertices of an undirected graph then there is a path between them.
(a) 2 marks Assuming the definition of a trail is known, what is a circuit and what does it mean for G to have an Euler circuit? (b) 2 marks State necessary and sufficient conditions for G to have an Euler circuit. (c) 4 marks Prove that the conditions you have stated are necessary (in other words that if G has an Euler circuit then the conditions you have stated must hold). (d) 5 marks Explain in careful detail why, if the conditions you have stated hold, G has a circuit of nonzero length containing any given vertex v.