Beruflich Dokumente
Kultur Dokumente
Spring 2015
Problem Set Assignment 1
Prob. 1 (20pts) How many different linear arrangements are there of the letters A, B, C,
D, E, F, G for which
(a) (5pts) A and B are next to each other?
(b) (5pts) A is before B?
(c) (5pts) G is not last in line?
(d) (5pts) If we add another letter C, which means there 8 letters of A, B, C, C, D,
E, F, G. How many linear arrangements for which D is at least next to one C?
(Hint: There are two C letters and they are treated as identical objects.)
, n = 1, 2, , k = 1, 2, , n.
Prob. 2 (10pts) Show that nk = nk n1
k1
Prob. 3 (30pts) In the lecture, we have learned the binomial theorem
n
X
n k nk
(x + y) =
x y .
k
k=0
n
(b) (10pts) k-subset. How many k-subsets A are included by set S, where k-subset
implies |A| = k ?
(c) (10pts) k-multiset. The notion of multiset (or bag) is a generalization of the
notion of a set in which members are allowed to appear more than once. How
many k-multisets A are included by set S, where k-multiset implies |A| = k ?